Compression Quality Factors in the LEADMrc Control
It is possible to set one or more quality factors when saving an image file to the LEAD MRC, MRC, TIF LEAD MRC, or TIF MRC format. 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.
When saving a file that has 8-bit grayscale segments in the LEAD MRC or TIF LEAD MRC format, 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, the only valid picture compression (PictureCoder property) 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.