scanbotsdk
    Preparing search index...

    Class TiffGeneratorParameters

    TIFF generator parameters.

    Index

    Constructors

    Properties

    binarizationFilter: ParametricFilter | null = null

    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.

    compression: CompressionMode = "LZW"

    Compression.

    Default is LZW.

    dpi: number = 72

    DPI value.

    Default is 72.

    jpegQuality: number = 80

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

    Default is 80.

    userFields: UserField[] = []

    User-defined fields.

    zipCompressionLevel: number = 6

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

    Default is 6.