dcsimg

How can I save an Image into a file with a standard image format like GIF or JPG?

Sandip Chitale

Once you have the Image object, for JPEG you can use

and for GIF you can use