Bug 95299 - [GTK][WPE] Missing Exif Orientation support
Summary: [GTK][WPE] Missing Exif Orientation support
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Lauro Moura
Keywords: Qt, QtTriaged
: 100852 101035 (view as bug list)
Depends on: 101207 101210
Blocks: 201982
  Show dependency treegraph
Reported: 2012-08-29 00:09 PDT by Chris Dumez
Modified: 2020-04-09 14:53 PDT (History)
7 users (show)

See Also:

WIP patch updating Cairo::drawSurface (11.55 KB, patch)
2020-04-07 07:51 PDT, Lauro Moura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2012-08-29 00:09:46 PDT
EFL port does not support EXIF orientation. This is covered by:
Comment 1 Dominik Röttsches (drott) 2012-10-31 07:05:21 PDT
*** Bug 100852 has been marked as a duplicate of this bug. ***
Comment 2 Csaba Osztrogonác 2012-11-04 04:18:10 PST
*** Bug 101035 has been marked as a duplicate of this bug. ***
Comment 3 Zan Dobersek 2012-11-04 23:15:55 PST
fast/images/exif-orientation-image-document.html was introduced in r132877, failing as well. Already skipped on EFL.
Comment 4 Dominik Röttsches (drott) 2012-11-05 03:58:59 PST
The decoding side seems alright. The issue is in the graphics backend.

The backend needs to rotate/flip the graphics context and draw the BitmapImage according to ImageFrame orientation. Will handle that for cairo in bug 101207.
Comment 5 Michael Catanzaro 2017-06-07 19:45:59 PDT
Reassigning some EFL bugs that are likely shared with GTK/WPE to the GTK component.
Comment 6 Lauro Moura 2020-04-07 07:51:24 PDT
Created attachment 395680 [details]
WIP patch updating Cairo::drawSurface

drawSurface was ignoring the destRect transformations from drawNativeImage, applying some padding and wrong scaling, presuming src and dest had the same orientation. This first version fixes a bunch of the exif tests, with some failures left for border images and image-orientation tests. Still need to check for side effects in other image tests.