This content has been marked as final. Show 3 replies
What exactly do you want to do ?
where does the source is located ?
be more specific.
I guess I shouldn't have called it an "image file" yet... It's an image object (mutable) and I want to save it to a file so the user can access it in the gallery. Any format will do (JPG, PNG...)
Check out javax.imageio.ImageIO
It has several easy ways to do this, including:
where format could be 'jpg' or 'png' etc.
ImageIO.write(RenderedImage im, String format, File output);