3000 explained code solutions for 75 technologies


python-pillowHow to convert TIFF to JPG


from PIL import Image

im = Image.open('image.tiff')
im.save('image.jpg')ctrl + c
PIL

import Pillow package modules

Image.open

open given image with Pillow

.save(

saves image under given path (format is automatically picked based on file extension)