mirror of
https://github.com/element-hq/synapse
synced 2024-07-15 15:14:07 +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.
2 lines
68 B
Gherkin
2 lines
68 B
Gherkin
Improve quality of thumbnails for 1-bit/8-bit color palette images.
|