Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.8.10
WICLeadJ2kCompressionControl Enumerated Type
See Also

Specifies the compression settings to use when saving JPEG2000 files with an IWICLeadBitmapEncoder.

Syntax

 
typedef enum WICLeadJ2kCompressionControl{
        WICLeadJ2kCompressionLossless= 0,
        WICLeadJ2kCompressionRatio= 1,
        WICLeadJ2kCompressionTargetSize= 2,
        WICLeadJ2kCompressionQualityFactor= 3,
  } WICLeadJ2kCompressionControl;

Constants

This enumeration is used with the J2k_CompressionControl property bag. item when saving Jpeg2000 files.

WICLeadDitherType Meaning
WICLeadJ2kCompressionLossless Lossless compression.
WICLeadJ2kCompressionRatio Compress based on the J2k_CompressionRatio property bag item.
WICLeadJ2kCompressionTargetSize Compress based on the J2k_TargetFileSize property bag item.
WICLeadJ2kCompressionQualityFactor Compress based on the QualityFactor property bag item.

 

Remarks

For more information, refer to the J2k_CompressionControl property bag item.

See Also

Example