I have been using ImageIO.read() and ImageIO.write() methods in javax.imageio.ImageIO for reading and writing images, and I found that some images\' color gets changed weird
seems a colorspace problem, imageIO try to do some encoding/decoding of the image but it seems to fail. Take a look here:
Unable to read JPEG image using ImageIO.read(File file)