Specifies a type of flags for a LEAD sub-format for an IWICLeadBitmapEncoder.
typedef enum WICLeadSubFormatFlags{ WICLeadFlagNone = 0, WICLeadFlagProgressive = 0x00000001, WICLeadFlagCmpQualityFactorPredefined = 0x00000002, WICLeadFlagQualityFactor = 0x00000004, WICLeadFlagMultiPage = 0x00000008, WICLeadFlagStamp = 0x00000010, WICLeadFlagLosslessJpeg = 0x00000020, WICLeadFlagJpeg2000Basic = 0x00000040, WICLeadFlagJpeg2000Advanced = 0x00000080, WICLeadFlagPngQualityFactor = 0x00000100, WICLeadFlagAbcQualityFactor = 0x00000200, WICLeadFlagEcwQualityFactor = 0x00000400, WICLeadFlagJpeg2000AlphaChannel = 0x00000800, WICLeadFlagJbig2Support = 0x00001000, WICLeadFlagXpsPngQualityFactor = 0x00002000, WICLeadFlagXpsJpegQualityFactor = 0x00004000, WICLeadFlagJpeg2000QualityFactor = 0x00008000, WICLeadFlagHdpQualityFactor = 0x00010000, WICLeadFlagInterlaced = 0x00020000, WICLeadFlagDither = 0x00040000, } WICLeadSubFormatFlags; |
The SubFormat is one of the property bag items of the LEAD Bitmap Encoder Property Bag of LEAD encoder objects. When creating any of the LEAD encoders, the SubFormat property bag item defaults to one of the constants in this enumeration. Every LEAD encoder supports one or more sub-formats in the WICLeadSubformat enumeration. For more information, refer to IWICLeadBitmapEncoder::GetSubFormats.
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
For an example, refer to the IWICLeadBitmapEncoder::GetSubFormats method.