I am using ImageIO.write() to convert PNG files to JPG. For some reason, my result image has a pink layer over it. I have searched far and wide for a solution but haven't found any. The code works for all other types of images except PNG.
+1
A:
Quick reading of other SO answers tagged ImageIO led to this link: http://forums.java.net/jive/message.jspa?messageID=205964
The root cause can be a buggy reader. The proposed workaround is using different reader package.
RocketSurgeon
2009-12-02 01:15:59
Do you have any suggestions for other reader packages? I am using javax.imageio.ImageIO. Don't know of any others out there.
Adam Stokar
2009-12-02 01:44:00
The link there on page I linked is https://jai-imageio.dev.java.net
RocketSurgeon
2009-12-02 03:38:37