Change quality of JPEG images produced by PIL in Python April 4, 2020 from PIL import Image im = Image.open('/path/to/cover_1.jpg') im.save('/path/to/cover_2.jpg', format='JPEG', quality=100) im.save('/path/to/cover-2.jpg', format='JPEG', subsampling=0, quality=100) References https://stackoverflow.com/questions/19303621/why-is-the-quality-of-jpeg-images-produced-by-pil-so-poor Related