cara mengurangi ukuran file gambar dalam python

from PIL import Image
im = Image.open('test.tiff')
im.save('test.jpeg')
Darkstar