Ok I have an Image that I\'m trying to read. Problem is that the Image.read(file) returns NULL.
File file = new File(\"C:\\\\images\\\\image1.jpg\");
if(file.exi         
        
From the Javadocs for ImageIO.read()
Returns a
BufferedImageas the result of decoding a supplied File with anImageReaderchosen automatically from among those currently registered. TheFileis wrapped in anImageInputStream. If no registeredImageReaderclaims to be able to read the resulting stream,nullis returned.
Try creating an ImageInputStream, then pass that onto the ImageIO.read() method, instead of sending the file itself.