Is cropping jpeg images using lossless PIL?

Simple questions really. If you crop a jpeg image using the Python image library, will the resulting image be recompressed or lossless?

+3
source share
1 answer

Generally not. There is a python shell for lossless jpeg library .

Cropping can be almost lossless if you delete all 8x8 pixel blocks

+5
source

Source: https://habr.com/ru/post/1747627/


All Articles