LEADTOOLS MRC (Mixed Raster Content) Module enhances LEADTOOLS file input/output functionality by adding support for raster color documents containing mixed image and text components.
Because standard compression schemes are geared towards an image being entirely text or color, the MRC model offers the advantage of using optimal compression for images that have both text and color in the same image. This results in both high compression factors and high detail retention.
The MRC SDK module breaks an image into three different layers: foreground, background, and mask. Each layer is compressed separately using the best type of compression for that data type and is later uncompressed and recombined to restore the original image.
A foreground layer contains color data for the text and line art, and may also contain photographic or continuous tone color data. The background layer generally contains low-resolution color image data, such as a background image, a wash or other pattern that would have text overlaid on it. The mask layer or the selector layer controls the process of image regeneration. It contains binary image data that is high spatial resolution, such as text and line art. This layer is used for drawing the corresponding foreground and background layers.
The segmentation can be performed manual-only, or automatically with the option to manually optimize. Compression can be specified for each area type. Three techniques are possible: Standard MRC T.44, LEADTOOLS MRC, or PDF by MRC segmentation.
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. Output options depend on the segmentation technique used.
With LEADTOOLS MRC technique, choose from CCITT G3 1D, CCITT G4 2D, CCITT G4 or JBIG for best compression of 1 bit areas.
With PDF segmentation through MRC technique, choose from ZIP, LZW, Fax G3 1D, Fax G3 2D, Fax G4 or JBIG2 for best compression of 1 bit areas.
Choose from JBIG, GIF (LEADTOOLS MRC), ZIP, or LZW (PDF through segmentation) for best compression of 2 bit areas.
Compress color areas with JPEG, CMW, CMP (LEADTOOLS MRC), ZIP, or LZW (PDF through segmentation).
Supported Platforms