Companion

Functions

Link copied to clipboard

The ImageDecoder.isTypeSupported() static method checks if a given MIME type can be decoded by the user agent.

Link copied to clipboard
external fun isTypeSupportedAsync(type: String): Promise<JsBoolean>

The ImageDecoder.isTypeSupported() static method checks if a given MIME type can be decoded by the user agent.