Lossless and Identical way - BufferedImage to File
-
29-10-2019 - |
Question
I have a BufferedImage
Object which I have manimulated it pixels (The numeric values). Now how can I save it to a file - preferable JPEG file - without any change in pixels values???
Solution
Try and use ImageIO.write( image, "some lessless format", new FileOutputStream(...) );
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow