File Formats: LEADTOOLS PDF with Mixed Raster Content (PDF)

Portable Document Format (PDF). LEADTOOLS provides support for PDF compression with MRC segmentation. The MRC segmentation 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 JPEG compressed, some text JBIG2 compressed, and another area CCITT compressed. This whole process works to provide a PDF file with better compression and better quality than just a standard Raster PDF file.

The default extension used by this format is: PDF.

LEADTOOLS supports Load and save for this format.

Keys that must be unlocked to enable this format support: L_SUPPORT_DOCUMENT.

Multi-page is supported when creating a PDF file only by using the PDF compressor.

File constants associated with this file format are:

Constant Read Support Write Support Description
FILE_RAS_PDF 24 BPP Yes PDF Format with LEAD Mixed Raster Content.


PdfLeadMrc is made up of different segments, which can be of various BitsPerPixel.  When you request file information on a PDF file, it will be reported as 24-bit.  When you save PdfLeadMrc files, various segments will be saved with different BitsPerPixel, based on the content.

Required DLLs and Libraries

LEADTOOLS supports writing/saving using LEADTOOLS Document Writers. For additional support details, refer to the following:

Related Formats


Win32, x64.

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help