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

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -