Type alias Binarization

Binarization: "DISABLED" | "ENABLED" | "ENABLED_IF_BINARIZATION_FILTER_SET"

Binarization behavior to apply when adding pages to a TIFF.

  • DISABLED: Do not binarize the image. Image will be stored as a grayscale or color TIFF.
  • ENABLED: Binarize the image. Image will be stored as a 1-bit TIFF. If the input image is not black-and-white, a simple thresholding is applied.
  • ENABLED_IF_BINARIZATION_FILTER_SET: Same behavior as ENABLED if a binarization filter (TIFFGeneratorParameters.binarizationFilter) is set, otherwise same behavior as DISABLED. This is the default.

Generated using TypeDoc