API ImageDecoder API for plugins
Reported by
acte...@gmail.com,
Jul 19 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2800.0 Safari/537.36 Steps to reproduce the problem: Need API for custom image decoders, such as FLIF, APNG, etc. API should can override default decoders. And decode for render in IMG, picture and other, without replacement url, and no in canvas or embed. API should directly working with image source and chunks. API should provide WebAssembly/JS api, and low level API, such as ImageFrame. What is the expected behavior? What went wrong? Nobody support plugins for image decoders (only embed tag). Did this work before? No Chrome version: 54.0.2800.0 Channel: canary OS Version: 10.0 Flash Version: Shockwave Flash 22.0 r0
,
Jul 20 2016
,
Jul 20 2016
The image decode methods in Chromium do not support such a thing, and it's hard to see a use case. Specifically, content creators can convert images before serving them, so what circumstances require the browser to support custom decode? APNG support is coming. Support for other formats may be discussed in the context of each specific format.
,
Jul 20 2016
If need FLIF use in forums, in album, needs native support. http://flif.info/example.html If will support of APNG, will be cool. I can hack canvas for exporting APNG animation. In bad situation possible (I think) use WebAssembly and libpng with export 32-bit APNG. If behavior of export canvas to PNG not changed (i.e. only 32-bit RGBA), possible make APNG animation. |
|||
►
Sign in to add a comment |
|||
Comment 1 by ranjitkan@chromium.org
, Jul 20 2016