Enum TiffCompression
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 = 0The right lossless codec for the page: CCITT Group 4 for a one-bit page, LZW with horizontal differencing otherwise. The default.
None = 1No compression: the largest file, readable by everything.
Lzw = 2Lempel-Ziv-Welch with horizontal differencing: the classic lossless TIFF codec.
Deflate = 3Deflate (zlib) with horizontal differencing: smaller than LZW, equally lossless.
Jpeg = 4JPEG-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 = 5CCITT Group 4 (fax) for one-bit pages; a continuous-tone page falls back to Lzw.
PackBits = 6PackBits run-length coding: the simplest lossless codec, fast, weak on photographs.