element-hq / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://element-hq.github.io/synapse
GNU Affero General Public License v3.0
1.25k stars 152 forks source link

Synapse's media repository does not preserve colourspace when thumbnailing #16970

Open ara4n opened 6 months ago

ara4n commented 6 months ago

Description

Wide gamut images get their colourspace ignored or removed when thumbnailed by Synapse, making the thumbnail look distinctly drab.

Steps to reproduce

Homeserver

matrix.org

Synapse Version

1.101.0 (b=matrix-org-hotfixes,beff0a756e)

Installation Method

Other (please mention below)

Database

postgres

Workers

Multiple workers

Platform

Debian 10.13

Configuration

No response

Relevant log output

None

Anything else that would be useful to know?

No response

ara4n commented 6 months ago

related: https://github.com/matrix-org/synapse/issues/6021 aka https://github.com/element-hq/synapse/issues/6021