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);
Subscribe to:
Post Comments (Atom)
JAVA GEEKS ZONE
No comments:
Post a Comment