Open Ezwen opened 5 years ago
I guess this is a bug in #5039.
For me, the thumbnail in riot-web has the correct framesize (upright image), but the image data inside that frame is landscape-oriented – and therefore heavily distorted.
When I then click on it, the frame gets rotated (so that both the frame and the image data are landscape – so that it doesn’t get stretched/squeezed anymore, but the orientation still is wrong. Instead, the image data should have been rotated – so that both the frame and the image are upright.
Description
(I originally submitted a bug for riot-web here: https://github.com/vector-im/riot-web/issues/10903)
Consider a picture with EXIF rotation metadata (eg. a photo taken with a phone that was not turned 90° on the side), such as:
When opened in an application that takes into account EXIF rotation metadata, we see this:
However when we upload this picture in Riot, the thumbnail shows this:
Steps to reproduce
Version information
Version: 1.3.1
Install method: official docker image
Platform: Debian 9