[Webkit-unassigned] [Bug 252927] New: Add new option imageOrientation: "none" to createImageBitmaps's

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 24 13:50:31 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=252927

            Bug ID: 252927
           Summary: Add new option imageOrientation: "none" to
                    createImageBitmaps's
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yiyix at chromium.org
                CC: dino at apple.com

Currently, the createImageBitmap API has 2 imageOrientation, "from-image" and "flipY" [1]. It's different from CSS spec, where it had another option called "none" for ignoring the image orientation metadata [2]

We should probably seek to harmonize the two, if possible.

We should add the new imageOrientation option "none" to createImageBitmap

[1] https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#dom-imagebitmapoptions-imageorientation

[2] https://www.w3.org/TR/css-images-3/#the-image-orientation

-- 
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/20230224/ceb0300d/attachment.htm>


More information about the webkit-unassigned mailing list