LEADTOOLS offers the LEADTOOLS Mixed Raster Content (MRC) .NET Class Library to handle mixed raster content files. This module enhances LEADTOOLS input/output functionality by adding support for color documents containing mixed image and text components. The Mixed Raster Content (MRC) format was developed by the International Telecommunications Union as part of ITU-T Recommendation T.44, and is defined in the proposed standard, RFC-2301, File Format for Internet Fax. The MRC model divides a page into strips and up to 3 layers: consisting of Mask, Foreground and Background layers. Each layer can be coded and compressed independently. Subsequently, these layers can be uncompressed and combined to restore the original image.
The LEADTOOLS implementation of the MRC model involves dividing an object into segments. A segment is a rectangular area on the image that can be classified as text, grayscale, or picture, depending on the number of colors used in its area.
LEADTOOLS offers several methods for saving files: MrcSegmenter.SaveImage, MrcSegmenter.SaveImageT44 and .MrcSegmenter.SaveBitmapList. With these methods it is possible to save an MRC image in any of the following modes:
The Standard MRC format file uses two different segment types: 1-bit Text and picture. The 1-bit text segments can be compressed using Fax G3 1D, Fax G3 2D, Fax G4 or JBIG compression and picture segments can be compressed using JPEG compression. Some of these compression schemes use a quality factor that allows the amount of compression to be controlled. The LEAD proprietary MRC formats use the following segment types: 1-bit text, 2-bit text, 2-bit picture grayscale, 8-bit grayscale, and picture. The 1-bit text segments can be compressed using Fax G3 1D, Fax G3 2D, Fax G4 or JBIG compression. The 2 bit grayscale segments can be compressed using JBIG compression. The 8-bit grayscale segments can be compressed using JPEG, LEAD CMP or LEAD CMW compression, and pictures can be compressed using JPEG, LEAD CMP or LEAD CMW compression. Some of these compression schemes use a quality factor that allows the amount of compression to be controlled.
Medical Web Viewer .NET