Saves an MRC image contained in an image to a file using the Standard T44 format.
image
MRC image to save.
fileName
The output file name.
format
The output file format.
options
Structure that contains the compression information to use when saving the file.
codecs
Extended saving options support
Use this method to save the given image in one of the standard T44 Formats either as a:
When format parameter is set to MrcImageFormat.Mrc, *.MRC is the default file extension. When format parameter is set to MrcImageFormat.MrcTif, *.TIF is the default file extension. Use the this method to save a file if it is necessary that the file be readable by any application that supports the T44 standard. Use the SaveImage method to save a file in the LEAD Proprietary T44 format to:
Please note that when creating a Standard T44 format file (calling this method using a format parameter set to of MrcT44ImageFormat.MrcT44), only one page can be saved. If segmentation has been performed, when this method is called any 2-bit text, 2-bit grayscale, and 8-bit grayscale segments are treated as 24-bit image segments. If a text segment contains text over a background, when it is saved using this method the background color is lost. For more information on Mixed Raster Content (MRC) formats, refer to Working with the LEADTOOLS Mixed Raster Content (MRC) .NET Class Library. When using this method, segments can be any of the following types:
Use the MrcCompressionOptions structure to set the compression to be used for the different types of segments. It is best to perform segmentation before calling the SaveImage method. Segmentation can be performed automatically by calling the SegmentImage method. or performed manually by calling the AddSegment method. If the options parameter is empty, then the method will use Fax G4 compression for the mask layer, JPEG compression for the 24 bit image segments and 2 for the quality factor. The 2 bit text segments and the grayscale (2 bit and 8 bit) segments will be treated as 24 bit image segments. For more information, refer to MrcCompressionOptions.