WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 223326
242137
ImageBitmap -> Canvas does not use EXIF orientation for images out of blobs
https://bugs.webkit.org/show_bug.cgi?id=242137
Summary
ImageBitmap -> Canvas does not use EXIF orientation for images out of blobs
Micah
Reported
2022-06-29 15:02:43 PDT
When Safari renders ImageBitmap to Canvas (via drawImage), EXIF orientation is not taken into account. Reduced test case:
https://codepen.io/pranksinatra/pen/JjRWVXz
In Chrome & Firefox, the rendered images are identical. In Safari, the second (ImageBitmap -> Canvas) image is improperly rotated if it contained EXIF data. I'm a bit confused b/c this issue was supposed to be resolved in 231063 and released into Safari 15.2, but I'm replicating this on Safari 15.5
https://bugs.webkit.org/show_bug.cgi?id=231063#c16
Thanks for looking into it Cameron McCormack (:heycam)!
Attachments
Add attachment
proposed patch, testcase, etc.
Kimmo Kinnunen
Comment 1
2022-06-29 23:51:59 PDT
Note: this is a bug with ImageBitmap out of a blob. Test pending in
bug 242169
The bug is fixed in
bug 223326
*** This bug has been marked as a duplicate of
bug 223326
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug