capacitor-plugin-scanbot-sdk
    Preparing search index...

    Type Alias PageBinarization

    PageBinarization: "DISABLED" | "ENABLED" | "ENABLED_IF_BINARIZATION_FILTER_SET"

    Binarization behavior to apply when adding a page to a PDF/TIFF.

    • DISABLED: Do not binarize the image.
    • ENABLED: Binarize the image. Image will be stored as a compressed black-and-white image. This will result in a very small file size. If binarizationFilter is set, this binarization filter will be applied. Otherwise, a simple thresholding binarization will be applied.
    • ENABLED_IF_BINARIZATION_FILTER_SET: Same behavior as ENABLED if a binarizationFilter is set, otherwise same behavior as DISABLED. This is the default.

    Type Declaration

    • "DISABLED"

      Do not binarize the image.

    • "ENABLED"

      Binarize the image. Image will be stored as a compressed black-and-white image. This will result in a very small file size. If binarizationFilter is set, this binarization filter will be applied. Otherwise, a simple thresholding binarization will be applied.

    • "ENABLED_IF_BINARIZATION_FILTER_SET"

      Same behavior as ENABLED if a binarizationFilter is set, otherwise same behavior as DISABLED. This is the default.