tags:

views:

476

answers:

1

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
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
The link there on page I linked is https://jai-imageio.dev.java.net
RocketSurgeon