Compression Quality Factors in the Mixed Raster Content Object

It is possible to set one or more quality factors when saving an image file to the LEAD MRC, TIF LEAD MRC, MRC, TIF MRC or PDF format, using MRC segmentation techniques. The quality factor (Q factor) is a number that determines the degree of loss in the compression process. Possible values range from 2 to 255, where 2 is the highest quality and 255 is the most compression. These values are set using the following properties:

Grayscale2BitCoder property

Grayscale8BitCoder property

Grayscale8BitQFactor property

Text2BitCoder property

MaskCoder property

PictureCoder property

PictureQFactor property

When saving a file that has 8-bit grayscale segments in the LEAD MRC, TIF LEAD MRC format (using the Save method), use a Grayscale8BitQFactor property of 0 to produce lossless CMW or lossless JPEG files when selecting those as the Grayscale8BitCoder. Otherwise, set the Grayscale8BitQFactor property to a value from 2 to 255, where 2 is the highest quality and 255 the most compression.

When saving a file in the standard MRC or TIF MRC format (using the SaveT44 method), the only valid picture compression (PictureCoder property value) is MRC_PICTURE_COMPRESSION_JPEG. Set the quality factor using the PictureQFactor property; setting a value from 2 to 255, where 2 is the highest quality and 255 the most compression.