WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
202458
createImageBitmap with resize option fails on Mac and iOS
https://bugs.webkit.org/show_bug.cgi?id=202458
Summary
createImageBitmap with resize option fails on Mac and iOS
Chris Lord
Reported
2019-10-02 06:11:36 PDT
This is tested by imported/w3c/web-platform-tests/2dcontext/imagebitmap/canvas-createImageBitmap-resize.html, which passes on Linux.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-10-02 13:22:07 PDT
<
rdar://problem/55921692
>
Alexander
Comment 2
2025-02-20 08:25:35 PST
Just wanted to see if there are any updates on this one? `createImageBitmap` has been around for a while, but because of various bugs it's still hard to use (this is one of them). A few examples of use-cases for `createImageBitmap`: - Crop images on-device - Resize images on-device before uploading to a server - For example a photo from `<input type="file" capture="environment">`. - On-device image resize has long been problematic, with the main workaround being the Canvas element, but every implementation I've seen has been buggy or hard to use, for example due to iOS canvas memory limits. - Take snapshots from a video feed - Extract sprites from a sprite sheet - Take non-rotated image pixels with an associated EXIF tag and output rotated pixels (without any EXIF), or put differently strip EXIF and apply rotation to image data. - This is useful since many server-side systems prefer to handle all images without accompanying exif rotation data.
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