mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 05:00:20 +00:00
Pillow will use nearest neighbour as the resampling algorithm if the source image is either 1-bit or a color palette using 8 bits. If we convert to RGB before scaling, we'll probably get a better result.
1 line
68 B
Gherkin
1 line
68 B
Gherkin
Improve quality of thumbnails for 1-bit/8-bit color palette images.
|