summary refs log tree commit diff
path: root/synapse/rest/media/v1/thumbnailer.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix: Pillow error when uploading RGBA image (#3325) (#6241)Filip Štědronský2019-12-021-1/+4
| | | Signed-Off-By: Filip Štědronský <g@regnarg.cz>
* media/thumbnailer: Better quality for 1-bit / 8-bit color palette images (#2142)Robert Swain2019-10-041-3/+11
| | | | | | 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.
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-2/+2
| | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :)
* Run Black. (#5482)Amber Brown2019-06-201-11/+4
|
* Fix image orientation when generating thumbnail (#5039)PauRE2019-05-161-0/+35
|
* run isortAmber Brown2018-07-091-2/+2
|
* Fix upErik Johnston2017-10-131-10/+3
|
* Fix up thumbnailing functionErik Johnston2017-10-131-3/+10
|
* Copy everything to backupErik Johnston2017-10-121-1/+8
|
* Basic implementation of backup media storeErik Johnston2017-10-121-10/+6
|
* Log which files we saved attachments to in the media_repositoryMark Haines2017-01-101-0/+5
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* bump up image quality a bit more as it looks crapMatthew Hodgson2015-07-141-1/+1
|
* Move rest APIs back under the rest directoryMark Haines2015-01-221-0/+89