decode

The decode() method of the ImageDecoder interface enqueues a control message to decode the frame of an image.

MDN Reference