Bug 215164

Summary: [GTK] JPEG with different orientation drawn with a blur edge
Product: WebKit Reporter: Milan Crha <mcrha>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: aperez, bugs-noreply, lmoura
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=95299

Description Milan Crha 2020-08-05 05:49:07 PDT
Coming from a downstream bug:
https://gitlab.gnome.org/GNOME/evolution/-/issues/1049

When a JPEG image has set an orientation (like `Orientation : Rotate 90 CW`), the image is drawn with a blur left edge. The downstream bug contains both a test image and a screen shot what the WebKitGTK does with it. I can reproduce the same in the MiniBrowser, hence this bug report.

Another user confirmed this with webkit2gtk3-2.28.4-3.fc32.x86_64.
Comment 1 Adrian Perez 2020-08-05 14:24:53 PDT
This is quite likely the same as bug #95299 which has a proposed patch
attached to it by Lauro. I have added him in CC, in case he can confirm
it's the same issue.
Comment 2 Lauro Moura 2020-08-06 15:08:14 PDT
(In reply to Adrian Perez from comment #1)
> This is quite likely the same as bug #95299 which has a proposed patch
> attached to it by Lauro. I have added him in CC, in case he can confirm
> it's the same issue.

Yeah, same issue (non-square image, rotated 90/270 degrees, gets left padded and wrongly scaled). Marking as duplicate.

*** This bug has been marked as a duplicate of bug 95299 ***