A file can be saved using the LEAD Proprietary MRC Format, the Standard MRC format, or PDF format with MRC segmentation. To save the image in the LEAD Proprietary MRC, MRC2, PDF or in TIF format, call the MrcSegmenter.SaveImage method, or call MrcSegmenter.SaveBitmapList to save a multi-page file. To save the image in Standard MRC or in the TIF format, call MrcSegmenter.SaveImageT44.
Note: The characteristics of individual images differ greatly and not every image compresses 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 image 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 upon which save method is being used as well as which segment type is being compressed.
Use the MrcCompressionOptions class to specify the compression and quality factor information for the file. The following members of this class are used to specify compression and quality characteristics to be used when saving an MRC file:
In addition, when saving an image in one of the LEAD Proprietary MRC formats, the following members of the MrcCompressionOptions class can be used to specify compression and quality for the additional segment types available to that format:
Medical Web Viewer .NET