OpenEXRImage image = new OpenEXRImage(640, 480);
image.getChannelList().addChannel(new Channel("R", PixelType.FLOAT));
image.getChannelList().addChannel(new Channel("G", PixelType.FLOAT));
image.getChannelList().addChannel(new Channel("B", PixelType.FLOAT));
image.setCompressionMethod(CompressionMethod.ZIP);
image.setRGB(320, 240, new RGB(1,0,0));
// image.attributes.put("compression", CompressionMethod.NONE);
// PrintStream out = new PrintStream(new FileOutputStream("/home/brad/Downloads/openexr-images-1.5.0/ScanLines/Blobbies2.test"));
// for (int y = -20; y < 1020; y++) {
// for (int x = -20; x < 1020; x++) {