[Webkit-unassigned] [Bug 237895] New: createImageBitmap() from Blob loses exif orientation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 15 08:20:08 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=237895
Bug ID: 237895
Summary: createImageBitmap() from Blob loses exif orientation
Product: WebKit
Version: Safari 15
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Images
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aswan at figma.com
CC: sabouhallawa at apple.com
Created attachment 454708
--> https://bugs.webkit.org/attachment.cgi?id=454708&action=review
test case
See attached test case -- this test uses a jpeg that contains an exif header indicating that the image should be rotated 90 degrees. When displayed via an <img> tag the image shows up at the correct orientation, but when displayed by decoding with createImageBitmap() and then drawing the resulting image to a canvas, the image is not correctly rotated.
Although not covered by the test case, if an ImageBitmap is created with an ImageElement as the source, the orientation is handled correctly.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220315/b9fe5a71/attachment.htm>
More information about the webkit-unassigned
mailing list