mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 12:44:30 +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.
|