Click or drag to resize
Pdftools logo

PdfTools.Pdf2Image Namespace

 
Classes
 ClassDescription
Public classContentOptions

The parameters how to render PDF content elements

Public classConverter

The class to convert a PDF document to a rasterized image

Public classFaxImageOptions

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".
Public classImageOptions

The base class for output image options

Public classImageSectionMapping

The base class for image section mappings

An image section mapping specifies how a PDF page, or a section of it, is transformed (e.g. cropped or scaled) and placed onto the target image.
Public classJpegImageOptions

The settings for JPEG output images

JPEG images use a lossy compression algorithm that provides a high compression ratio. It is best suited for photographs and content with little or no text.

For the output file name, it is recommended to use the file extension ".jpg".

Public classPngImageOptions

The settings for PNG output images

For the output file name, it is recommended to use the file extension ".png".
Public classRenderPageAsFax

The image section mapping suitable for Fax output images

Render a PDF page without scaling onto the image, top-aligned and horizontally centered.

Note that, the image has a fixed width of 1728 pixels / 8.5 inches.

A page larger than the target image is scaled down to fit in.

Public classRenderPageAtResolution

The image section mapping to render entire pages at a specific resolution

The entire PDF page is rendered into an image of the same size and the specified resolution.

For example, this mapping is suitable to create images of entire PDF pages.

Public classRenderPageToMaxImageSize

The image section mapping to render entire pages using a specific image pixel size

Render a PDF page and scale it, thereby preserving the aspect ratio, to fit best on the target image size. The image size is specified in number of pixels.

For example, this mapping is suitable to create thumbnail images.

Public classTiffFlateImageOptions

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".

Public classTiffJpegImageOptions

The settings for TIFF output images using the JPEG compression algorithm

TIFF allows images to be compressed with JPEG (Joint Photographic Experts Group), which is a lossy compression algorithm. JPEG provides a high compression ratio for 8 and 24 bit images. It is best suited for TIFFs containing photographs and little or no text.

For the output file name, it is recommended to use the file extension ".tif".

Public classTiffLzwImageOptions

The settings for TIFF output images using the LZW compression algorithm

LZW (Lempel-Ziv-Welch) is a lossless compression algorithm for images. Please consult the copyright laws of your country prior to using this compression algorithm.

For the output file name, it is recommended to use the file extension ".tif".

Enumerations
 EnumerationDescription
Public enumerationAnnotationOptions

Defines how to render annotations and their popups

Annotations associate an object such as a sticky note, link or rich media with a location on a PDF page; they may also provide user interaction by means of the mouse and keyboard.

Some annotations have an associated popup.

Public enumerationBackgroundType

The background type to use when rendering into an image

Public enumerationColorSpace

The color space used in various image formats

Public enumerationFaxVerticalResolution

The vertical resolution of Fax images

The two resolutions available in Fax images.
Public enumerationJpegColorSpace

The color space used in JPEG images

Public enumerationPngColorSpace

The color space used in PNG images

Public enumerationTiffBitonalCompressionType

The compression type for bitonal (Fax) TIFF images