createImageBitmap() does not support resize options (resizeQuality remains)
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
People
(Reporter: vitaly, Unassigned)
References
Details
(Keywords: dev-doc-needed)
Updated•8 years ago
|
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 5•3 years ago
|
||
It doesn't look like this was ever resolved. The linked tickets (https://bugzilla.mozilla.org/show_bug.cgi?id=1335594, https://bugzilla.mozilla.org/show_bug.cgi?id=1367251) did add support for some createImageBitmap() options, but support for resize options (resizeWidth, resizeHeight, and resizeQuality) was never added, as far as I can tell.
Comment 6•3 years ago
|
||
Fair enough, let's keep this open then.
Updated•3 years ago
|
Comment 7•3 years ago
|
||
Bug 1733559 added support for resizeWidth and resizeHeight.
Comment 8•3 years ago
|
||
Thanks Tom! Not sure how high priority resizeQuality
is, but if it's relatively straightforward we should probably do it.
We have some real-world use-cases for this (currently using canvas + math, but would prefer to use this when it's landed).
I'd say image quality (resizeQuality) matter a lot in practice, for example to tune image size and thereby upload size / upload time. Obviously this is anecdotal, but I think it's highly useful.
Great that resizeWidth and resizeHeight is now supported!
Updated•2 years ago
|
Description
•