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 2/3, .NET 4
Products |
Support |
Feedback: File Formats: LEADTOOLS PDF with Mixed Raster Content (PDF) |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.