Lossless and Identical way - BufferedImage to File
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???
Try and use ImageIO.write( image, "some lessless format", new FileOutputStream(...) );
.
精彩评论