summary refs log tree commit diff
path: root/scripts-dev
diff options
context:
space:
mode:
authorRobert Swain <rob@matrix.org>2019-10-04 10:34:52 +0200
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-10-04 09:34:52 +0100
commit39b40d6d9989b09de39da5b6d3f85ee535e41138 (patch)
treeb97f87ef80ba0d03e32a6eee466993e343de4136 /scripts-dev
parentadd some metrics on the federation sender (#6160) (diff)
downloadsynapse-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 'scripts-dev')
0 files changed, 0 insertions, 0 deletions