https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/isTypeSupported_static
ImageDecoder: isTypeSupported() static method - Web APIs | MDN
The ImageDecoder.isTypeSupported() static method checks if a given MIME type can be decoded by the user agent.
static methodweb apismdn