ImageDecoder
The ImageDecoder interface of the WebCodecs API provides a way to unpack and decode encoded image data. Available only in secure contexts.
Properties
Functions
Link copied to clipboard
The decode() method of the ImageDecoder interface enqueues a control message to decode the frame of an image.
Link copied to clipboard
The decode() method of the ImageDecoder interface enqueues a control message to decode the frame of an image.
Link copied to clipboard
The reset() method of the ImageDecoder interface aborts all pending decode() operations; rejecting all pending promises. All other state will be unchanged. Class methods can continue to be invoked after reset(). E.g., calling decode() after reset() is permitted.