Image Decode API: img.decode()

This change allows web developers to request to decode an img element. The call to a new HTML <img> element’s decode() function returns a promise, which, when fulfilled, ensures that the image can be appended to the DOM without causing a decoding delay on the next frame.

Demos

Documentation

Specification

Working draft or equivalent

Status in Chromium

Blink>Image


Proposed (launch bug)

Consensus & Standardization

  • No public signals
  • No public signals
  • Public support
  • No signals

Owners

Last updated on 2017-07-18