Bug 242137

Summary: ImageBitmap -> Canvas does not use EXIF orientation for images out of blobs
Product: WebKit Reporter: Micah <micah.millereshleman>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dino, heycam, kkinnunen, micah.millereshleman
Priority: P2    
Version: Safari 15   
Hardware: Mac (Apple Silicon)   
OS: macOS 10.15   

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
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.