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???

Was it helpful?

Solution

Try and use ImageIO.write( image, "some lessless format", new FileOutputStream(...) );.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top