Specifies the compression settings to use when saving JPEG2000 files with an IWICLeadBitmapEncoder.
typedef enum WICLeadJ2kCompressionControl{ WICLeadJ2kCompressionLossless = 0, WICLeadJ2kCompressionRatio = 1, WICLeadJ2kCompressionTargetSize = 2, WICLeadJ2kCompressionQualityFactor = 3, } WICLeadJ2kCompressionControl; |
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.
For an example, refer to the LEAD Bitmap Encoder Property Bag: JPEG2000 Specific Options
For more information, refer to the J2k_CompressionControl property bag item.