diff options
author | Robert Swain <rob@matrix.org> | 2019-10-04 10:34:52 +0200 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-10-04 09:34:52 +0100 |
commit | 39b40d6d9989b09de39da5b6d3f85ee535e41138 (patch) | |
tree | b97f87ef80ba0d03e32a6eee466993e343de4136 /synapse/api | |
parent | add some metrics on the federation sender (#6160) (diff) | |
download | synapse-39b40d6d9989b09de39da5b6d3f85ee535e41138.tar.xz |
media/thumbnailer: Better quality for 1-bit / 8-bit color palette images (#2142)
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.
Diffstat (limited to 'synapse/api')
0 files changed, 0 insertions, 0 deletions