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