About PNG Format
Brought to you by:
tomash
Hello,
Is your program accept PNG32 and PNG 24?
Because it returns ArrayOutOfBounds Exception when i am
using PNG32.
It seems the PNG encoder didn't support.
Exception in thread "main"
java.lang.ArrayIndexOutOfBoundsException: 6400
at
drawboard.PngDecoder.insertPixels(PngDecoder.java:417)
at
drawboard.PngDecoder.readImageData(PngDecoder.java:239)
at
drawboard.PngDecoder.handleIDAT(PngDecoder.java:141)
at drawboard.PngDecoder.<init>(PngDecoder.java:94)
at drawboard.PngDecoder.decode(PngDecoder.java:55)
at drawboard.Server.loadBgImage(Server.java:256)
at drawboard.Server.<init>(Server.java:213)
at drawboard.Server.main(Server.java:58)
Testing PNG32 pic