Check out the Python Image Library (PIL) . See this tutorial , PIL is pretty easy to use.
Supported image formats .
To perform the conversion, you open the image and then save it using the new extension (which uses PIL to determine which format should be used for saving).
import Image im = Image.open('test.jpg') im.save('test.tiff')
Please note that the official distribution does not support Python 3.x (yet?), However, at least under Windows there is an unofficial version that works with v 3.x.
Levon source share