mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 18:15:53 +03:00
39b40d6d99
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.
|