pdftools_sdk.pdf2_image.fax_image_options

Classes

FaxImageOptions(handle)

The settings for TIFF Fax output images

class pdftools_sdk.pdf2_image.fax_image_options.FaxImageOptions(handle)[source]

Bases: ImageOptions

The settings for TIFF Fax output images

Create a black-and-white (bitonal) TIFF Fax output image. For the output file name, it is recommended to use the file extension “.tif”.

property vertical_resolution: FaxVerticalResolution

The vertical image resolution

This property allows a choice of which vertical resolution to use. For details, see pdftools_sdk.pdf2_image.fax_vertical_resolution.FaxVerticalResolution .

Note that the horizontal resolution is fixed at 204 DPI by the Fax standard.

Default is pdftools_sdk.pdf2_image.fax_vertical_resolution.FaxVerticalResolution.STANDARD

Returns:

pdftools_sdk.pdf2_image.fax_vertical_resolution.FaxVerticalResolution

property compression: TiffBitonalCompressionType

The Fax compression algorithm

This property allows a choice of which compression type to use. For details, see pdftools_sdk.pdf2_image.tiff_bitonal_compression_type.TiffBitonalCompressionType .

Default is pdftools_sdk.pdf2_image.tiff_bitonal_compression_type.TiffBitonalCompressionType.G3

Returns:

pdftools_sdk.pdf2_image.tiff_bitonal_compression_type.TiffBitonalCompressionType