java - javax.imageio.IIOException: Error reading PNG image -
after getting byte array when passing byte array inside bufferedimage using bufferedimage bimagefromconvert = imageio.read(in);
it showing error:
javax.imageio.iioexception: error reading png image data @ com.sun.imageio.plugins.png.pngimagereader.readimage(unknown source) @ com.sun.imageio.plugins.png.pngimagereader.read(unknown source) @ javax.imageio.imageio.read(unknown source) @ javax.imageio.imageio.read(unknown source) what might reason behind this?
Comments
Post a Comment