Table of Contents

Enum TiffCompression

Namespace
LMKit.Media.Image
Assembly
LM-Kit.NET.dll

The codec a TIFF page is written with (TiffCompression). Every lossless choice keeps the samples exact; Jpeg is the one lossy choice and applies Quality.

public enum TiffCompression

Fields

Auto = 0

The right lossless codec for the page: CCITT Group 4 for a one-bit page, LZW with horizontal differencing otherwise. The default.

None = 1

No compression: the largest file, readable by everything.

Lzw = 2

Lempel-Ziv-Welch with horizontal differencing: the classic lossless TIFF codec.

Deflate = 3

Deflate (zlib) with horizontal differencing: smaller than LZW, equally lossless.

Jpeg = 4

JPEG-in-TIFF (lossy): 8-bit gray, RGB and CMYK pages. A one-bit or alpha-bearing page, which JPEG cannot hold, is written with Deflate instead.

CcittGroup4 = 5

CCITT Group 4 (fax) for one-bit pages; a continuous-tone page falls back to Lzw.

PackBits = 6

PackBits run-length coding: the simplest lossless codec, fast, weak on photographs.

Share