Table of Contents

Enum TiffCompression

Namespace
SixLabors.ImageSharp.Formats.Tiff.Constants
Assembly
SixLabors.ImageSharp.dll

Enumeration representing the compression formats defined by the Tiff file-format.

public enum TiffCompression : ushort

Fields

Ccitt1D = 2

CCITT Group 3 1-Dimensional Modified Huffman run-length encoding.

CcittGroup3Fax = 3

T4-encoding: CCITT T.4 bi-level encoding (see Section 11 of the TIFF 6.0 specification).

CcittGroup4Fax = 4

T6-encoding: CCITT T.6 bi-level encoding (see Section 11 of the TIFF 6.0 specification).

Deflate = 8

Deflate compression, using zlib data format (see TIFF Specification, supplement 2).

Invalid = 0

A invalid compression value.

ItuTRecT43 = 10

ITU-T Rec. T.43 representation, using ITU-T Rec. T.82 (JBIG) (see RFC2301).

Note: The TIFF encoder does not yet support this compression and will default to use no compression instead, if this is chosen.

ItuTRecT82 = 9

ITU-T Rec. T.82 coding, applying ITU-T Rec. T.85 (JBIG) (see RFC2301).

Note: The TIFF encoder does not yet support this compression and will default to use no compression instead, if this is chosen.

Jpeg = 7

JPEG compression (see TIFF Specification, supplement 2).

Note: The TIFF encoder does not yet support this compression and will default to use no compression instead, if this is chosen.

Lzw = 5

LZW compression (see Section 13 of the TIFF 6.0 specification).

NeXT = 32766

NeXT 2-bit Grey Scale compression algorithm.

Note: The TIFF encoder does not support this compression and will default to use no compression instead, if this is chosen.

None = 1

No compression.

OldDeflate = 32946

Deflate compression - old.

Note: The TIFF encoder does not support this compression and will default to use no compression instead, if this is chosen.

OldJpeg = 6

JPEG compression - obsolete (see Section 22 of the TIFF 6.0 specification).

Note: The TIFF encoder does not support this compression and will default to use no compression instead, if this is chosen.

PackBits = 32773

PackBits compression.

ThunderScan = 32809

ThunderScan 4-bit compression.

Note: The TIFF encoder does not support this compression and will default to use no compression instead, if this is chosen.

Webp = 50001

Pixel data is compressed with webp encoder.

Note: The TIFF encoder does not support this compression and will default to use no compression instead, if this is chosen.