[OpenJDK 2D-Dev] Writing a CMYK file
Adam Augusta
roxton at gmail.com
Mon Jun 16 23:49:53 UTC 2008
Without too much difficulty, I managed to convert my sRGB image into
CMYK with my profile by using JNA to utilize Little CMS. I took the
resulting samples, sanity-checked them, and then stuffed them into a
WritableRaster with a PixelInterleavedSampleModel.
I figured that from here it would be a snap to save to a CMYK image
file, perhaps in TIFF format, but I've been poring through Image I/O
and I don't see how to do it. Can anyone help?
-Adam
More information about the 2d-dev
mailing list