LEAD Technologies, Inc

WICLeadJ2kCompressionControl Enumerated Type

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.

See Also

Reference

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-2012 All Rights Reserved. LEAD Technologies, Inc.