public void dumpLong(int x) {
		try {
			out.write(x >> 24);
			out.write(x >> 16);
			out.write(x >> 8);
			out.write(x);
		} catch (IOException ex) {
			throw new ErrorException("saveImage: " + ex.getMessage());
		}
	}