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 /changelog.d/2142.feature | |
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 'changelog.d/2142.feature')
-rw-r--r-- | changelog.d/2142.feature | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/2142.feature b/changelog.d/2142.feature new file mode 100644 index 0000000000..e21e8325e1 --- /dev/null +++ b/changelog.d/2142.feature @@ -0,0 +1 @@ +Improve quality of thumbnails for 1-bit/8-bit color palette images. |