Bug 252927

Summary: Add new option imageOrientation: "none" to createImageBitmaps's
Product: WebKit Reporter: Yi Xu <yiyix>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, sabouhallawa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Yi Xu 2023-02-24 13:50:31 PST
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
Comment 1 Radar WebKit Bug Importer 2023-03-03 13:51:14 PST
<rdar://problem/106210546>