Dec 04

By default it does not support it. To get support for jpeg-lossless you need to install Java Advanced Imaging Image I/O Tools (jai-imageio).

You can download it from https://jai-imageio.dev.java.net/

written by objects \\ tags: , ,

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);

written by objects \\ tags: , , ,