Mixed Raster Content Format (MRC)

Note:

This format is supported only in Document/Medical. For more information, refer to the LEADTOOLS Mixed Raster Content (MRC) API Help File.

LEADTOOLS supports reading and writing of the following fax formats:

image\sqrblit.gif MRC. The Mixed Raster Content format was defined for use for color and grayscale fax as part of the RFC-2301, File Format for Internet Fax. The Mixed Raster Content mode (T.44) enables different coding methods and resolutions to be used within a single page by defining a 3-layer image model for structuring and combining the scanned image data. The image is segmented and each segment assigned a type based on the number of colors used in that segment. Segments can be combined and compressed using different compression schemes to create a file that balances quality with compression. The following modes are supported:

MRC: This mode uses the Standard MRC file format. The default extension is *.MRC. Please note that multi-page files using this format can be loaded, but only one page can be saved.

LEAD MRC: This mode uses the LEAD proprietary MRC format. The default extension is *.MRC. Please note that this is a single page file format. This format achieves a better compression ratio than the LEAD-MRC2 format when dealing with a lot of 1-bit segments.

LEAD MRC2: This mode uses the LEAD proprietary MRC format, with MRC type 2 compression. This format achieves a better compression ratio than the LEAD-MRC format when dealing with images that have either a lot of small picture segments or a lot of 2-bit segments. The default extension is *.MRC. Please note that this is a single page file format.

TIF-MRC: This mode uses the Tagged Image Format and the Standard MRC file format as a subtype. The default extension is *.TIF. Multi-page files using this format can be loaded and can also be saved.

TIF-LEAD-MRC: This mode uses the Tagged Image Format and the LEAD proprietary MRC format as a subtype. The default extension is *.TIF. Multi-page files using this format can be loaded and can also be saved. This format achieves a better compression ratio than the TIF-LEAD-MRC2 format when dealing with a lot of 1-bit segments.

TIF-LEAD-MRC2: This mode uses the Tagged Image Format and the LEAD proprietary MRC format with MRC type 2 compression as a subtype. This format achieves a better compression ratio than the TIF-LEAD-MRC format when dealing with images that have either a lot of small picture segments or a lot of 2-bit segments. The default extension is *.TIF. Multi-page files using this format can be loaded and can also be saved.

This file format does support multi-page files, although with the MRC mode multi-page files can be loaded but only one page can be saved.

The file constants associated with this file format are:

FILE_LEAD_MRC

FILE_LEAD_MRC2

FILE_MRC

FILE_TIF_LEAD_MRC

FILE_TIF_LEAD_MRC2

FILE_TIF_MRC

Required DLL: Please refer to Files To Be Included With Your Application.

For LEAD-MRC files, you can read the following bits per pixel: 1, 2, 8, 24.

For LEAD-MRC files, you can write the following bits per pixel: 1, 2, 8, 24.

For LEAD-MRC2 files, you can read the following bits per pixel: 1, 2, 8, 24.

For LEAD-MRC2 files, you can write the following bits per pixel: 1, 2, 8, 24.

For MRC files, you can read the following bits per pixel: 1, 2, 8, 24.

For MRC files, you can write the following bits per pixel: 1, 2, 8, 24.

For TIFF-LEAD-MRC files, you can read the following bits per pixel: 1, 2, 8, 24.

For TIFF-LEAD-MRC files, you can write the following bits per pixel: 1, 2, 8, 24.

For TIFF-LEAD-MRC2 files, you can read the following bits per pixel: 1, 2, 8, 24.

For TIFF-LEAD-MRC2 files, you can write the following bits per pixel: 1, 2, 8, 24.

For TIFF-MRC files, you can read the following bits per pixel: 1, 2, 8, 24.

For TIFF-MRC files, you can write the following bits per pixel: 1, 2, 8, 24.