UnsupportedImageException

The input is a well-formed image in a format, or a format feature, ImageKodec doesn't decode: an AVIF of SMPTE ST 2085 colour, a JPEG XR of N channels. The message always names the specific feature, and ImageKodec.probe reports the same thing up front through ImageInfo.unsupportedReason, so a caller can route the file elsewhere instead of catching this.

Subtype of ImageDecodeException so callers who don't care about the distinction catch one type.

Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?