mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-23 02:32:00 +03:00
When both a custom quantization table and a quality value are provided, the quantization table should be scaled using the JPEG quality scaling factor. If quality is not explicitly set, the default base quality of 50 is used to preserve the original table. This ensures consistent behavior when saving JPEGs with custom qtables. Fixes part of the issue with applying 'quality' to 'qtables'. |
||
---|---|---|
.. | ||
libImaging | ||
PIL | ||
thirdparty | ||
Tk | ||
_avif.c | ||
_imaging.c | ||
_imagingcms.c | ||
_imagingft.c | ||
_imagingmath.c | ||
_imagingmorph.c | ||
_imagingtk.c | ||
_webp.c | ||
decode.c | ||
display.c | ||
encode.c | ||
map.c | ||
outline.c | ||
path.c |