TiffCompression

How ImageKodec.encodeTiff compresses each strip or tile (TIFF 6.0 Compression, tag 259).

Entries

Link copied to clipboard

Compression 1: the samples as they are. Every reader takes it.

Link copied to clipboard

Compression 32773: Apple's byte run-length coding, each row packed alone (TIFF 6.0 section 9).

Link copied to clipboard

Compression 5: LZW with TIFF's early change of code width (TIFF 6.0 section 13).

Link copied to clipboard

Compression 8: zlib's Deflate, as the TIFF Technical Notes define Adobe Deflate. The default.

Link copied to clipboard

Compression 4: CCITT Group 4 (ITU-T T.6) for a bi-level page, as scanners and fax software write documents. Each strip or tile is coded alone and ends with EOFB.

Link copied to clipboard

Compression 3: CCITT Group 3 one-dimensional (ITU-T T.4 Modified Huffman) for a bi-level page, each row after an EOL, with T4Options 0.

Link copied to clipboard

Compression 7: baseline JPEG as TIFF Technical Note 2 defines it, for 8-bit gray or colour without alpha. The quantization and Huffman tables sit once in JPEGTables, and each strip or tile is an abbreviated JPEG stream. Colour is stored as YCbCr (photometric 6). Lossy.

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