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

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

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

uitableview - Create and use custom prototype table cells in xamarin ios using storyboard -