Got rid of ImageIO. Now using JAI and the colors are read properly now