BufferedImage too large ? Null pointer exception !
Hi,
I try to load a PNG image in my program : it works great with normal image size. But when I tried to load an image of 20000*100px, I got a NullPointerException.
Here my method to load the image :
BufferedImage graph = ImageIO.read("image.png");
And when I use :
System.out.println(getGraph().getWidth(null) +"," + getGraph().getHeight(null));
I have null pointer.
Can someone help me ?
Thanks ;)

