createImageBitmap fails when providing options object
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
Webcompat Priority | ? |
People
(Reporter: the.spite, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed, Whiteboard: [gfx-noted])
Attachments
(2 files)
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Reporter | ||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Updated•7 years ago
|
Comment 8•7 years ago
|
||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
I can confirm this is still an issue. Is there any way this ticket can be given a higher priority?
Comment 11•5 years ago
|
||
This is much more important now that workers provide a clean separation from the DOM and Image.
We are converting all our low level code that used to use an Image promise to now use a XHR blob + createImageBitmap(blob, options). We do this mainly as an efficient data storage such as GIS tiles. By doing this, all our code works as-is in workers.
So ditto on giving this a higher priority!
Comment 12•5 years ago
|
||
XHR Blob not fetch?
Comment 15•5 years ago
|
||
It looks like this is a Firefox-specific failure in WPT:
https://wpt.fyi/results/2dcontext/imagebitmap/createImageBitmap-flipY.html?run_id=320660001&run_id=341840002&run_id=322390001&run_id=328590003
Updated•5 years ago
|
Comment 16•5 years ago
|
||
Not to pile on, but we need this to be fixed for an upcoming Adobe project also.
Specifically we need imageOrientation at minimum, but it would be very useful to have the resize options also as it would save an additional draw.
Comment 17•5 years ago
|
||
It looks like createImageBitmap was implemented in bug 1044102 by :kaku who is no longer with us. Only the 1 argument and 5 argument versions of this were ever implemented, which do not support an actual options argument at all. Punting this back over to DOM to see who can handle it there...
Comment 18•5 years ago
|
||
(In reply to Lee Salzman [:lsalzman] from comment #17)
It looks like createImageBitmap was implemented in bug 1044102 by :kaku who is no longer with us. Only the 1 argument and 5 argument versions of this were ever implemented, which do not support an actual options argument at all. Punting this back over to DOM to see who can handle it there...
Taking this to an offline discussion.
Comment 19•5 years ago
|
||
Looks the patches in bug 1367251 is adding the options, so close as duplicate.
Description
•