0

当我在BufferedImage使用内部传递字节数组时获取字节数组后BufferedImage bImageFromConvert = ImageIO.read(in);

它显示错误:

javax.imageio.IIOException: Error reading PNG image data at   
com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source) at  
com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source) at  
javax.imageio.ImageIO.read(Unknown Source) at
javax.imageio.ImageIO.read(Unknown Source)

这背后的原因可能是什么?

4

0 回答 0