-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
addition/proposalNew features or enhancementsNew features or enhancements
Description
Step 3 of https://html.spec.whatwg.org/multipage/webappapis.html#dom-createimagebitmap for <img> specifically rejects on vector data, but it doesn't reject for blobs. There's a vague "If the image data is not in a supported file format" step for blobs, is this supposed to reject on vectors?
See https://jakearchibald.github.io/svgomg/ - as a developer, I'd like to control the rasterisation of SVG data using createImageBitmap to allow for smooth zooming and panning but lazy re-rendering at the target dimension (and cropped area).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
addition/proposalNew features or enhancementsNew features or enhancements