PictureCoder property (ILEADRasterMrc)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

MRCPictureCoderConstants PictureCoder

Overview

Refer to Working with the MRC Bitmap.

Remarks

(Document/Medical only) (Persistent property, available at design time) Indicates which picture compression type is to be used when saving a LEAD proprietary T44 file or a Standard T44 file. The default value is MRC_PICTURE_COMPRESSION_JPEG. Possible values are:

Setting

Description

MRC_PICTURE_COMPRESSION_CMW

[0x00] Use LEAD Wavelet (CMW) compression. This flag is used only if FILE_LEAD_MRC or FILE_TIF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PICTURE_COMPRESSION_LOSSLESS_CMW

[0x01] Use LEAD Wavelet lossless compression. This flag is used only if FILE_LEAD_MRC or FILE_TIF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PICTURE_COMPRESSION_CMP

[0x02] Use LEAD CMP compression. This flag is used only if FILE_LEAD_MRC or FILE_TIF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PICTURE_COMPRESSION_JPEG

[0x03] Use JPEG Compression. This flag is used only if FILE_LEAD_MRC, FILE_TIF_LEAD_MRC, FILE_MRC, or FILE_TIF_MRC is set in the lFormat parameter of either the Save, SaveT44 or SaveList methods.

MRC_PICTURE_COMPRESSION_LOSSLESS_JPEG

[0x04] Use JPEG Lossless Compression. This flag is used only if FILE_LEAD_MRC, or FILE_TIF_LEAD_MRC is set in the lFormat parameter of either the Save, SaveT44 or SaveList methods.

MRC_PICTURE_COMPRESSION_JPEG_YUV422

[0x05] JPEG Compression with YUV 4:2:2 color space.This flag is used only if FILE_LEAD_MRC, or FILE_TIF_LEAD_MRC, is set in the lFormat parameter of either Save or SaveList methods.

MRC_PICTURE_COMPRESSION_JPEG_YUV411

[0x06] JPEG Compression with YUV 4:1:1 color space.This flag is used only if FILE_LEAD_MRC, or FILE_TIF_LEAD_MRC, is set in the lFormat parameter of either Save or SaveList methods.

MRC_PICTURE_COMPRESSION_JPEG_PROGRESSIVE

[0x07] JPEG Progressive Compression.This flag is used only if FILE_LEAD_MRC, or FILE_TIF_LEAD_MRC, is set in the lFormat parameter of either Save or SaveList methods.

MRC_PICTURE_COMPRESSION_JPEG_PROGRESSIVE_YUV422

[0x08] JPEG Progressive Compression.This flag is used only if FILE_LEAD_MRC, or FILE_TIF_LEAD_MRC, is set in the lFormat parameter of either Save or SaveList methods.

MRC_PICTURE_COMPRESSION_JPEG_PROGRESSIVE_YUV411

[0x09] JPEG Progressive Compression.This flag is used only if FILE_LEAD_MRC, or FILE_TIF_LEAD_MRC, is set in the lFormat parameter of either Save or SaveList methods.

MRC_PDF_PICTURE_COMPRESSION_JPEG

[0x0A] Use JPEG Compression. This flag is used only if FILE_PDF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PDF_PICTURE_COMPRESSION_YUV422

[0x0B] JPEG Compression with YUV 4:2:2 color space.This flag is used only if FILE_PDF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PDF_PICTURE_COMPRESSION_PROGRESSIVE

[0x0D] JPEG Progressive Compression.This flag is used only if FILE_PDF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PDF_PICTURE_COMPRESSION_PROGRESSIVE_YUV422

[0x0E] JPEG Progressive Compression with YUV 4:2:2 color space.This flag is used only if FILE_PDF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PDF_PICTURE_COMPRESSION_PROGRESSIVE_YUV411

[0x0F] JPEG Compression with YUV 4:1:1 color space.This flag is used only if FILE_PDF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PDF_PICTURE_COMPRESSION_ZIP

[0x10] Use ZIP Compression. This flag is used only if FILE_PDF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PDF_PICTURE_COMPRESSION_LZW

[0x11] Use LZW Compression. This flag is used only if FILE_PDF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveT44 methods.

When saving to the standard T44 format using the SaveT44 method, the only valid picture compression is MRC_PICTURE_COMPRESSION_JPEG.

See Also

Elements

Save method, SaveT44 method

Topics

Raster Images: Saving a Page