Closed mireq closed 1 year ago
wouldn't it be better to rewrite line 53 to
if format in ['JPEG', 'WEBP']:
…
JPEG branch has some specific JPEG handling code, for example conversion from RGBA to RGB because jpeg don't support alpha, but webp can store alpha.
My updated pull request removes quantity option only for TIFF format. I think, this is best solution for now.
Please read my follow-up comment on this.
GitHub changed something in their action scripts, which causes the unit tests to fail.
Can you please retry with version 2.8.5. This should fix the regression introduced in 2.8.4.
It's OK now
After commit https://github.com/SmileyChris/easy-thumbnails/commit/7b9719e379916b19945623b8d3299a279e38c395, parameter 'quality' is not passed to pillow for any format except of 'JPEG'.