PDF and Advanced PDF

PDF

The LEADTOOLS PDF Plug-in is an add-on module for all LEADTOOLS Toolkits. It extends support to include the PDF, Postscript, and EPS formats. The LEADTOOLS PDF SDK Plug-in supports loading, saving, viewing, rasterizing, and encoding these three formats. It integrates seamlessly with the broad imaging functionality present in the existing LEADTOOLS toolkits, encompassing specialized display, color-conversion, image-processing, scanning, annotations, document clean-up, and much more.

Loading Capabilities

The LEADTOOLS PDF plug-in has the following import capabilities:

Loads PDF 1.2, 1.3, 1.4, and 1.5 files.

Loads PostScript Language Level 3 files.

Loads EPS files.

Support is provided for loading the entire document or a specified set of sequential pages.

The plug-in provides a number of options for controlling the rasterization of the page, including:

Pixel depth - Valid values are 1,4,8 and 24.

Horizontal resolution in dots per inch.

Vertical resolution in dots per inch.

Ability to use fonts installed by the plug-in or system fonts.

Font anti-aliasing - Valid values are 1-bit(no anti-aliasing) , 2-bit and 4-bit.

Graphics anti-aliasing - 1-bit , 2-bit and 4-bit.

Saving Capabilities

Full multi-page write support is provided by this module for the PDF format. You can append, insert, replace or delete a specified page in the generated PDF file.

The plug-in gives you a wide range of control options for resulting image data compression, including:

No compression, where the image is embedded inside the file without any compression.

Compressed using CCITT Group 3, 1 dimension. For 1-bit images.

Compressed using CCITT Group 3, 2 dimensions. For 1-bit images.

Compressed using CCITT Group 4. For 1-bit images.

JBIG-2 compression for 1-bit images.

JPEG compression and YUV 4:4:4 color space loss-less. Bits per pixel: 8 for grayscale, 24 for color.

JPEG compression and YUV 4:2:2 color space. Bits per pixel: 8 for grayscale, 24 for color.

JPEG compression and YUV 4:1:1 color space. Bits per pixel: 8 for grayscale, 24 for color.

LZW compression for bits-per-pixel: 1, 2, 4, 8, 24.

The plug-in also gives you control over the type of encoding to be used in order to change compressed image data into a text encoded format. The text encoding techniques include:

No text encoding at all.

Use ASCII 85 text encoding algorithm.

Use ASCII HEX text encoding technique.

Advanced PDF Compression

The PDF Compressor supports saving files through Mixed Raster Content (MRC) technology. Most PDF files are saved as a single-page 24-bit (color) or 1-bit (black-and-white) raster image. Using the LEADTOOLS PDF Compressor with MRC engine, this compressor can be used to break down a page/image into smaller segments, saving each segment using compression appropriate for that segment. Thus, one page of a PDF file may have an image segment that is compressed using JPEG compression, some text in another segment that is compressed using JBIG2 compression, and another area that is compressed using CCITT compression. This whole process works to provide a PDF file with the highest-possible compression and best-possible quality, as compared to a standard Raster PDF file.

Advanced PDF Compression includes the following features:

Supports many compression types, including:

ZIP (Flat compression)

LZW

FAX CCITT (G3 1D, G3 2D, G4)

JBIG2

Lossless JPEG

JPEG (YUV 4.4.4, YUV 4.2.2 and YUV 4.1.1)

Works in two modes at the page level:

MRC mode: enables the segmentation of the source image and then compresses the resulting segments

Normal mode: inserts the image into the PDF file without segmentation

Produces v1.4 (Adobe Acrobat 5.X) PDF files

Provides advanced options to control the process of adding the segments to the PDF file

Provides input profiles to specify source image quality. This makes controlling the segmentation process more accurate and simple. The following input profiles are supported:

Automatic: the PDF compressor automatically handles the process

Noisy

Scanned

Printed

Computer-generated

Photo

User: this profile is provided for advanced users

Provides output profiles to specify the required output quality. This should also make the segmentation process easier and more accurate. The following output profiles are supported:

Automatic: the PDF compressor automatically handles the process

Poor

Average

Good

Excellent

User: this profile is provided for advanced users

Provides control over the compression types that will be used with each type of segment. For example, FAX CCITT G4 compression to handle 1 bit/pixel segments.

Supports background detection, where the PDF compressor tries to determine the background of the provided image. With background detection, the background segments are not stored, resulting in a more compact PDF file.

Provides control over 1-bit and 2-bit segment detection. Detection can be set to favor 1 bit segments over 2 bit segments, and vice versa. Or, detection can be forced to 1 bit segments over 1 bit segments and vice versa.

Supported Platforms

PDF and Advanced PDF - API

PDF and Advanced PDF - Class Library

PDF and Advanced PDF .NET and COM