Oct 30
|
Create a ByteArrayInputStream from your byte array and then use ImageIO class to read image from that stream.
InputStream in = new ByteArrayInputStream(bytearray); BufferedImage image = ImageIO.read(in);
CategoriesArchives
|
Create a ByteArrayInputStream from your byte array and then use ImageIO class to read image from that stream. InputStream in = new ByteArrayInputStream(bytearray); BufferedImage image = ImageIO.read(in); |
|