- From: Yoav Weiss <notifications@github.com>
- Date: Wed, 23 Sep 2015 05:08:48 -0700
- To: WICG/img-conversion <img-conversion@noreply.github.com>
Received on Wednesday, 23 September 2015 12:09:17 UTC
> </h2> > + <pre class="idl"> > +typedef (HTMLImageElement or Blob) ImageSource; > + > +partial interface ImageData { > + [NewObject] Promise<Blob> toBlob (optional DOMString type, optional EncoderOpts options); > + [NewObject] static Promise<ImageData> create (ImageSource source); > + static CanPlayTypeResult canDecodeType (DOMString mimeType); The use case is not to decode animated formats or the animated parts of a video, but to decode a single I-frame from one of the supported video formats. Enabling that would enable innovation around SW based image decoding without paying the performance penalty of decoding in JS using the CPU. --- Reply to this email directly or view it on GitHub: https://github.com/WICG/img-conversion/pull/14/files#r40195621
Received on Wednesday, 23 September 2015 12:09:17 UTC