WICLeadJ2kCompressionControl Enumerated Type

Show in webframe

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.

Example

For an example, refer to the LEAD Bitmap Encoder Property Bag: JPEG2000 Specific Options

Remarks

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

References

LEAD WIC-Enabled Codecs Overview
Registering a LEAD WIC-Enabled Codec
LEAD Bitmap Encoder Property Bag
LEAD Bitmap Encoder Property Bag: JPEG2000 Specific Options
LEAD Bitmap Encoder Property Bag: JBIG2 Specific Options
LEAD Bitmap Encoder Property Bag: XPS Specific Options

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.