TIFF generator parameters.

Hierarchy

Constructors

Properties

binarizationFilter: ParametricFilter

Filter to apply to the input image when adding pages with binarization. If set, the filter is applied to the input image and the resulting image is stored as a 1-bit TIFF. When storing documents it's typically best to use the BINARY_DOCUMENT_OPTIMIZED_COMPRESSION compression mode (CCITT_T6) instead of the default, as it tends to produce the smallest file sizes. If not set, simple thresholding is applied to the image, instead.

Default Value

null;
compression: CompressionMode

Compression.

Default Value

"LZW";
dpi: number

DPI value.

Default Value

72;
jpegQuality: number

JPEG quality (TIFFTAG_JPEGQUALITY). Values range from 0 to 100.

Default Value

80;
userFields: UserField[]

User-defined fields.

Default Value

[];
zipCompressionLevel: number

ZIP/Deflate compression level (TIFFTAG_ZIPQUALITY). Values range from 1 to 9.

Default Value

6;

Generated using TypeDoc