pdftools_sdk.pdf2_image.profiles.fax

Classes

Fax()

The profile to convert PDF documents to TIFF Fax images

class pdftools_sdk.pdf2_image.profiles.fax.Fax[source]

Bases: Profile

The profile to convert PDF documents to TIFF Fax images

This profile is suitable for converting PDFs into TIFF-F conforming rasterized images for Facsimile transmission.

The output format is a multi-page TIFF file containing all rasterized PDF pages.

By default,

  • the output images are Group 3 - compressed

  • scaled to a width of 1728 pixels, a horizontal resolution of 204 DPI, and a vertical resolution of 98 DPI

  • all colors and gray scale tones are converted to bitonal by using dithering

The compression type and the vertical resolution can be set through pdftools_sdk.pdf2_image.profiles.fax.Fax.image_options .

__init__()[source]
property image_options: FaxImageOptions

The settings for the output image

Returns:

pdftools_sdk.pdf2_image.fax_image_options.FaxImageOptions

property image_section_mapping: RenderPageAsFax

The image section mapping

This property specifies how a PDF page is placed onto the target image.

Returns:

pdftools_sdk.pdf2_image.render_page_as_fax.RenderPageAsFax