## PDF Generation

QPix provides the capability to create PDF files from a series of images or 4D pictures.

PDF supports a few compression algorithms for embedded images (JPEG, ZIP, CCITT G4), each suitable for different kind of images.

When QPix creates a PDF document, it uses the following logic to decide which compression algorithm to use:

If a source image is already compressed with JPEG, it is embedded into the output PDF as-is; no re-compression is performed.

If the source image is not a JPEG, QPix examines the depth of the image. If it is monochrome, it is compressed using CCITT G4 compression (the most efficient for b/w). If the image is not monochrome, it is compressed using ZIP compression.

The commands that provide this capability are:

QPx_CreatePDFFile | Creates a PDF file from individual images.
QPx_CreatePDFBLOB | Creates a PDF BLOB from individual images.

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:45:19