pdftools_sdk.pdf2_image.tiff_flate_image_options
Classes
The settings for TIFF output images using the Flate compression algorithm |
- class pdftools_sdk.pdf2_image.tiff_flate_image_options.TiffFlateImageOptions[source]
Bases:
ImageOptions
The settings for TIFF output images using the Flate compression algorithm
Flate is a lossless compression algorithm. It is useful for the compression of large images with no loss in quality.
For the output file name, it is recommended to use the file extension “.tif”.
- property background: BackgroundType
Combine a background with the image
This property allows a choice of which background to combine with the image.
Default is
pdftools_sdk.pdf2_image.background_type.BackgroundType.WHITE
- Returns:
pdftools_sdk.pdf2_image.background_type.BackgroundType
- property color_space: ColorSpace | None
The color space of the output image
If None, the blending color space of the page is used.
Default is
pdftools_sdk.pdf2_image.color_space.ColorSpace.RGB
- Returns:
Optional[pdftools_sdk.pdf2_image.color_space.ColorSpace]