File Formats: LEADTOOLS PDF with Mixed Raster Content (PDF) - Namespace - Raster, Medical, Document Help

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

LEADTOOLS provides support for PDF compression with MRC segmentation. MRC segmentation can be used to break a page/image into smaller segments, saving each segment using the 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: Document and PdfAdvanced.

Multi-page is supported if the PDF file is created by using the PdfCompressor. For more information, refer to PdfCompressor.Insert(RasterImage,PdfCompressorOptions) and Creating A compressed PDF File. As an example, you can create a multipage file as shown in the following code:

PdfCompressor pdfCompressor = new PdfCompressor();  
pdfCompressor.SetCompression //set the compressions you need 
              
pdfCompressor.Insert //insert 1st page 
pdfCompressor.Insert //insert 2nd page 

              
pdfCompressor.Insert // and so on 
…. 
pdfCompressor.Write // write the pdf documentpdfCompressor.InsertPdfCompressor pdfCompressor = new  
PdfCompressor(); PdfCompressor pdfCompressor = new PdfCompressor(); 

Use the Insert command for each page being added.

File constants associated with this file format are:

Constant Read Support Write Support Description
RasPdf 1, 4, 8, and 24 BPP N/A (see note below) PDF Format with LEAD Mixed Raster Content.
PdfLeadMrc 1, 4, 8, and 24 BPP N/A (see note below) PDF Format with LEAD Mixed Raster Content.

NOTE: 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 DLL: Leadtools.Mrc.dll, Leadtools.PdfCompressor.dll For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application .

Related Formats: MRC Format, TIFF - Tagged Image File Format.

Platforms: .NET 4, .NET Standard

Help Version 20.0.2018.8.13
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Imaging, Medical, and Document