The supported image codecs between browsers is not standardized and this API makes no attempt at doing so. Given how prevalent GIF, JPG, and PNG are we expect overlap in some formats between all browsers though.
Firefox: No public signals
Through WebCodecs, expressed unofficial, but positive sentiment.
Edge: No public signals
Safari: No public signals
Web developers: Positive (https://discourse.wicg.io/t/proposal-imagedecoder-api-extension-for-webcodecs/4418)
Relies on ImageBitmap and ImageBitmapOptions support.
WASM polyfills could be provided.
No new security risks. Intends to reuse the same image decoding infrastructure as used by <img> without any additional new surface area.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dale Curtis, blink-dev
Hey Dale,
> > No, TBD
When you say 'TBD', are there any testing needs this I2P has that WPT doesn't provide today? (Just checking in case there's support you need!)
I skimmed the explainer and it seemed like it could be tested by writing to a canvas and then either doing a ref-test against an expected image or just reading the bits from the canvas and checking they are as expected, but perhaps I have overlooked something :).
When you say 'TBD', are there any testing needs this I2P has that WPT doesn't provide today? (Just checking in case there's support you need!)
Nope, just that I haven't written any yet! Thanks for checking.
I skimmed the explainer and it seemed like it could be tested by writing to a canvas and then either doing a ref-test against an expected image or just reading the bits from the canvas and checking they are as expected, but perhaps I have overlooked something :).
Yes, that's what I was thinking. Probably using a couple of encodes from different types of images. For animated ones the frame color would change each time so it could be sample tested in canvas.
Dale Curtis
unread,
Apr 29, 2020, 1:23:45 PM4/29/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message