Scale down JPEG CMYK files

View: New views
1 Messages — Rating Filter:   Alert me  

Scale down JPEG CMYK files

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

I have a number of image files as JPEG in CMYK and I need to scale them down. The scale down works fine but I notice that the resulting files are shown in all wrong colors. I removed the scale down part from my code and only left the read and write portion but the result was still wrong.

To read and write I simply use

PlanarImage pi = JAI.create("fileload", inFileName);
// the code to scale down normally goes here and was removed for testig
JAI.create("filestore", pi, outFileName, "jpeg");

I would assume that the above produces output similar to the input files but it does not. Why are the resulting images different in colors when there is no manipulation done between input and output? Can someone tell me how to read and write JPEGs that are in CMYK?

Thanks for any hints and all the best
Ulrich
[Message sent by forum member 'uhilger' (uhilger)]

http://forums.java.net/jive/thread.jspa?messageID=280152

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...

LightInTheBox - Buy quality products at wholesale price