ImageFormat

Image container formats ImageKodec can identify from magic bytes. Sniffing intentionally recognises more formats than ImageKodec.decode currently handles: "that's a WebP we can't decode yet" is a far better error than "unknown format".

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

AV1 Image File Format: an ISO base media file whose ftyp names the avif or avis brand.

Link copied to clipboard

JPEG XL: a bare codestream that starts FF 0A, or its container, which starts with a JXL box.

Link copied to clipboard

JPEG XR (ITU-T T.832 | ISO/IEC 29199-2), formerly HD Photo and Windows Media Photo, the image format of XPS documents: the TIFF-like container of its Annex A, which starts II BC and a version byte of 0 (HD Photo) or 1.

Link copied to clipboard

HEIC: a HEIF file (ISO/IEC 23008-12) whose image is not AV1, normally HEVC. Its ftyp names a brand of the HEVC family (heic, heix, heim, heis, hevc, hevx, hevm, hevs), or only mif1 or msf1 with a primary item or first track that is not AV1. Decoding the HEVC pictures needs the imagekodec-heic module.

Types

Link copied to clipboard
object Companion

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard