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.