Saving Capabilities

The Mixed Raster Content (MRC) file can be saved using the LEAD Proprietary MRC Format, the Standard MRC format, or PDF format with MRC segmentation. To save the bitmap in the LEAD Proprietary MRC, MRC TIF, or in PDF format, call the Save method, or call SaveList to save a multi-page file. To save the bitmap in Standard MRC or in the TIF format, call the SaveT44 method.

The LEAD proprietary MRC formats used by the Save method or SaveList method differ from the Standard MRC format used by the SaveT44 method in the following ways:

image\sqrblit.gif When using the LEAD Proprietary MRC formats, segments can be 1-bit black and white, 1-bit color, 2-bit color, 2-bit grayscale, 8-bit grayscale, or picture. When using the standard MRC format, segments can be 1-bit black and white, 1-bit color, or picture.

image\sqrblit.gif While any application that supports the T44 standard can open a file saved in those formats, only an application with LEADMrc support can open a file saved in one of the LEAD proprietary MRC formats.

image\sqrblit.gif Saving a given bitmap in one of the LEAD proprietary MRC formats creates a smaller file than saving the same bitmap in the Standard MRC format.

image\sqrblit.gif Saving a given bitmap in one of the LEAD proprietary MRC formats creates a higher quality file than saving the same bitmap in the Standard MRC format.

image\sqrblit.gif When saving a multi-paged file as a Standard MRC format (MRC), only one page can be saved. The LEAD Proprietary MRC formats (LEAD-MRC and LEAD-MRC2) are single page file formats.

Note:

The characteristics of the individual images differ greatly and not every image can be compressed well as Mixed Raster Content.

The LEADTOOLS implementation of the MRC model involves dividing an object into segments. A segment is a rectangular area on the bitmap that can be classified as text, grayscale, or picture, depending on the number of colors used in its area. Segmentation can be performed automatically, manually, or internally. Different types of compression are available, depending on which save method is being used and which segment type is being compressed.

When saving a bitmap in LEAD proprietary MRC formats, the following properties can be used to specify the compression and quality of the saved file:

Grayscale2BitCoder property

Grayscale8BitCoder property

Grayscale8BitQFactor property

Text2BitCoder property

The following properties may also be used to specify compression and quality characteristics used when saving a T44 file:

MaskCoder property

PictureCoder property

PictureQFactor property

With LEADTOOLS it is easy to handle the segmentation process, whether performing segmentation automatically using the AutoSegment method or manually using the CreateNewSegment method.

For more information refer to:

General Segmentation

Auto-Segmentation

Manual Segmentation

With LEADTOOLS it is easy to handle the segmentation process, whether performing segmentation automatically using the AutoSegment method or the AutoSegmentExt method or manually using the CreateNewSegment method.