Is there a way to show progress in PIL (Python Library) while processing an image?

36 views Asked by At

I have some large photos, and want to show the progress (like numerical values from 0.0 to 1.0) while saving and/or modifying them.

from PIL import Image
image = Image.open('wallpaper.png') # the image size is 150 MB
# doing some modification
image.save('modified_wallpaper.png', quality = 85) # the code is loading and will be executed without showing progress levels

Thanks in advance

I read through Pillow documentation, but never found something helpful.

0

There are 0 answers