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