原文:
https://www.jianshu.com/p/e1b9d9aa9fc0
https://www.cnblogs.com/lantingg/p/9259840.html
渐进式jpeg格式:如果你希望将草图先呈现出来然后慢慢进一步清晰,可以采用这种形式。
from PIL import Image
# https://www.jianshu.com/p/e1b9d9aa9fc0
# https://www.cnblogs.com/lantingg/p/9259840.html
img = Image.open("c:\timg_11.jpg")
destination = "c:\timg_11.jpeg"
img.save(destination, "JPEG", quality=80, optimize=True, progressive=True)