Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java Advanced Imaging [ARCHIVE]
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Mar 23, 2010 11:33 PM by
How to save a BufferredImage with RGB color encoded JPEG file.
Mar 23, 2010 11:33 PM
Hi, I am new to Java Imaging API programming.
When I try to write a BufferredImage using following code -
BufferedImage output = new BufferedImage (width, height, BufferedImage.TYPE_INT_ARGB);
File outputFile = new File("image.jpeg");
ImageIO.write(output, "jpeg", outputFile);
It seems that myfile.jpg have CMYK color encoding, Can someone tell me how can I save the BufferredImage with RGB color encoding.
This content has been marked as final.
Show 0 replies