开发者

Lossless and Identical way - BufferedImage to File

开发者 https://www.devze.com 2023-03-04 09:28 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消