Save Example for Delphi
LEADMrc1.MaskCoder := MRC_MASK_COMPRESSION_JBIG;
LEADMrc1.PictureCoder := MRC_PICTURE_COMPRESSION_JPEG;
LEADMrc1.PictureQFactor := 2;
LEADMrc1.Grayscale2BitCoder := MRC_GRAYSCALE_COMPRESSION_JBIG_2BIT;
LEADMrc1.Grayscale8BitCoder := MRC_GRAYSCALE_COMPRESSION_GRAYSCALE_JPEG_8BIT;
LEADMrc1.Grayscale8BitQFactor := 2;
LEADMrc1.Text2BitCoder := MRC_TEXT_COMPRESSION_JBIG_2BIT;
LEADMrc1.Save(LEADImage1, 'c:\test.mrc', FILE_LEAD_MRC, 0, SAVE_OVERWRITE);
LEADMrc1.SaveT44(LEADImage1, 'c:\testT44.mrc', FILE_MRC, 0, SAVE_OVERWRITE);