Firefox Tomorrow

web api instance method

ImageDecoder: close() method

View on MDN ↗

Secure contextAvailable in workers

The close() method of the ImageDecoder interface ends all pending work and releases system resources.

Syntax

close()

Parameters

None.

Return value

None (undefined).

Examples

The following example closes the ImageDecoder.

imageDecoder.close();

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.