Bug 480897 - Neochat images orientation is wrong (while it is ok Element web and Anroid)
Summary: Neochat images orientation is wrong (while it is ok Element web and Anroid)
Status: CONFIRMED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: 23.08.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-05 13:40 UTC by Robert Riemann
Modified: 2024-02-05 13:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Riemann 2024-02-05 13:40:13 UTC
I have received a jpeg which is oriented 90-anti-clockwise wrong in comparison to the rendering in Element webchat and Element Android clients.


STEPS TO REPRODUCE
1. open private chat
2. upload an image using Element that has the meta data below
3. check the image in Neochat

meta data retrieved with exiftool image.jpg (look out for orientation):

File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
JFIF Version                    : 1.01
Exif Byte Order                 : Big-endian (Motorola, MM)
Orientation                     : Rotate 90 CW
Compression                     : JPEG (old-style)
X Resolution                    : 96
Y Resolution                    : 96
Resolution Unit                 : inches
Thumbnail Offset                : 150
Thumbnail Length                : 4348
Image Width                     : 976
Image Height                    : 1600
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Image Size                      : 976x1600
Megapixels                      : 1.6
Thumbnail Image                 : (Binary data 4348 bytes, use -b option to extract)


OBSERVED RESULT

image is rotated anti-clock-wise 90 degrees

EXPECTED RESULT

image is not rotated

I am running opensuse tumbleweed with kde frameworks 5.113.0 and qt 5.15.11.
Comment 1 Tobias Fella 2024-02-05 13:42:10 UTC
That's https://bugreports.qt.io/browse/QTBUG-111954