Specifies the type of LEAD sub-format to use with an IWICLeadBitmapEncoder.
typedef enum WICLeadSubFormat { WICLeadSubFormatUnknown = 0, WICLeadSubFormatPcx = 1, WICLeadSubFormatGif = 2, WICLeadSubFormatTif = 3, WICLeadSubFormatTga = 4, WICLeadSubFormatCmp = 5, WICLeadSubFormatBmp = 6, WICLeadSubFormatJpeg = 10, WICLeadSubFormatJpegRgb = 182, WICLeadSubFormatTifJpeg = 11, WICLeadSubFormatOs2 = 14, WICLeadSubFormatWmf = 15, WICLeadSubFormatEps = 16, WICLeadSubFormatTifLzw = 17, WICLeadSubFormatJpeg411 = 21, WICLeadSubFormatTifJpeg411 = 22, WICLeadSubFormatJpeg422 = 23, WICLeadSubFormatTifJpeg422 = 24, WICLeadSubFormatCcitt = 25, WICLeadSubFormatLead1Bit = 26, WICLeadSubFormatCcittGroup31Dim = 27, WICLeadSubFormatCcittGroup32Dim = 28, WICLeadSubFormatCcittGroup4 = 29, WICLeadSubFormatAbc = 32, WICLeadSubFormatCals = 50, WICLeadSubFormatMac = 51, WICLeadSubFormatImg = 52, WICLeadSubFormatMsp = 53, WICLeadSubFormatWpg = 54, WICLeadSubFormatRas = 55, WICLeadSubFormatFli = 61, WICLeadSubFormatEpsTiff = 63, WICLeadSubFormatEpsWmf = 64, WICLeadSubFormatFaxG31Dim = 66, WICLeadSubFormatFaxG32Dim = 67, WICLeadSubFormatFaxG4 = 68, WICLeadSubFormatWfxG31Dim = 69, WICLeadSubFormatWfxG4 = 70, WICLeadSubFormatIcaG31Dim = 71, WICLeadSubFormatIcaG32Dim = 72, WICLeadSubFormatIcaG4 = 73, WICLeadSubFormatOs22 = 74, WICLeadSubFormatPng = 75, WICLeadSubFormatRawIcaG31Dim = 77, WICLeadSubFormatRawIcaG32Dim = 78, WICLeadSubFormatRawIcaG4 = 79, WICLeadSubFormatBmpRle = 84, WICLeadSubFormatTifCmyk = 85, WICLeadSubFormatTifLzwCmyk = 86, WICLeadSubFormatTifPackBits = 87, WICLeadSubFormatTifPackBitsCmyk = 88, WICLeadSubFormatTifDxf = 140, WICLeadSubFormatWinIco = 91, WICLeadSubFormatWinCur = 92, WICLeadSubFormatTifYcc = 93, WICLeadSubFormatTifLzwYcc = 94, WICLeadSubFormatTifPackbitsYcc = 95, WICLeadSubFormatExif = 96, WICLeadSubFormatExifYcc = 97, WICLeadSubFormatExifJpeg422 = 98, WICLeadSubFormatExifJpeg = 98, WICLeadSubFormatExifJpeg411 = 101, WICLeadSubFormatPbmAscii = 102, WICLeadSubFormatPbmBinary = 103, WICLeadSubFormatPgmAscii = 104, WICLeadSubFormatPgmBinary = 105, WICLeadSubFormatPpmAscii = 106, WICLeadSubFormatPpmBinary = 107, WICLeadSubFormatCut = 108, WICLeadSubFormatXpm = 109, WICLeadSubFormatXbm = 110, WICLeadSubFormatIffIlbm = 111, WICLeadSubFormatIffCat = 112, WICLeadSubFormatXwd = 113, WICLeadSubFormatClp = 114, WICLeadSubFormatJbig = 115, WICLeadSubFormatEmf = 116, WICLeadSubFormatIcaIbmMmr = 117, WICLeadSubFormatRawIcaIbmMmr = 118, WICLeadSubFormatAni = 119, WICLeadSubFormatLaserData = 121, WICLeadSubFormatIntergraphRle = 122, WICLeadSubFormatCals4 = 129, WICLeadSubFormatCals2 = 130, WICLeadSubFormatCals3 = 131, WICLeadSubFormatXwd10 = 132, WICLeadSubFormatXwd11 = 133, WICLeadSubFormatFlc = 134, WICLeadSubFormatTifCmp = 138, WICLeadSubFormatTifJbig = 139, WICLeadSubFormatTifUnknown = 141, WICLeadSubFormatSgi = 142, WICLeadSubFormatSgiRle = 143, WICLeadSubFormatRasPdf = 146, WICLeadSubFormatRasPdfG31Dim = 147, WICLeadSubFormatRasPdfG32Dim = 148, WICLeadSubFormatRasPdfG4 = 149, WICLeadSubFormatRasPdfJpeg = 150, WICLeadSubFormatRasPdfJpeg422 = 151, WICLeadSubFormatRasPdfJpeg411 = 152, WICLeadSubFormatRasPdfLzw = 179, WICLeadSubFormatRasPdfJbig2 = 188, WICLeadSubFormatRasPdfCmyk = 333, WICLeadSubFormatRasPdfLzwCmyk = 334, WICLeadSubFormatRaw = 153, WICLeadSubFormatTifCustom = 155, WICLeadSubFormatRawRgb = 156, WICLeadSubFormatRawRle4 = 157, WICLeadSubFormatRawRle8 = 158, WICLeadSubFormatRawBitfields = 159, WICLeadSubFormatRawPackBits = 160, WICLeadSubFormatRawJpeg = 161, WICLeadSubFormatFaxG31DimNoEol = 162, WICLeadSubFormatRawCcitt = 162, WICLeadSubFormatJp2 = 163, WICLeadSubFormatJ2k = 164, WICLeadSubFormatCmw = 165, WICLeadSubFormatTifJ2k = 166, WICLeadSubFormatTifCmw = 167, WICLeadSubFormatMrc = 168, WICLeadSubFormatLeadMrc = 314, WICLeadSubFormatTifMrc = 177, WICLeadSubFormatTifLeadMrc = 315, WICLeadSubFormatWbmp = 170, WICLeadSubFormatJpegLab = 171, WICLeadSubFormatJpegLab411 = 172, WICLeadSubFormatJpegLab422 = 173, WICLeadSubFormatGeoTiff = 174, WICLeadSubFormatTifLead1Bit = 175, WICLeadSubFormatTifAbc = 180, WICLeadSubFormatPostscript = 222, WICLeadSubFormatPtoca = 249, WICLeadSubFormatSct = 250, WICLeadSubFormatAfp = 252, WICLeadSubFormatIcaUncompressed = 253, WICLeadSubFormatRawIcaUncompressed = 254, WICLeadSubFormatSmp = 256, WICLeadSubFormatSmpG31Dim = 257, WICLeadSubFormatSmpG32Dim = 258, WICLeadSubFormatSmpG4 = 259, WICLeadSubFormatTgaRle = 262, WICLeadSubFormatRasRle = 288, WICLeadSubFormatClpRle = 291, WICLeadSubFormatFit = 295, WICLeadSubFormatCin = 298, WICLeadSubFormatEpsPostscript = 300, WICLeadSubFormatIntergraphCcittG4 = 301, WICLeadSubFormatSff = 302, WICLeadSubFormatIffIlbmUncompressed = 303, WICLeadSubFormatIffCatUncompressed = 304, WICLeadSubFormatAfpIcaG31Dim = 309, WICLeadSubFormatAfpIcaG32Dim = 310, WICLeadSubFormatAfpIcaG4 = 311, WICLeadSubFormatAfpIcaUncompressed = 312, WICLeadSubFormatAfpIcaIbmMmr = 313, WICLeadSubFormatPsd = 76, WICLeadSubFormatJbig2 = 183, WICLeadSubFormatCrw = 296, WICLeadSubFormatDcr = 292, WICLeadSubFormatDcs = 266, WICLeadSubFormatEcw = 277, WICLeadSubFormatKdc = 135, WICLeadSubFormatPcd = 57, WICLeadSubFormatPsp = 267, WICLeadSubFormatPspRle = 268, WICLeadSubFormatKdc120 = 263, WICLeadSubFormatKdc40 = 264, WICLeadSubFormatKdc50 = 265, WICLeadSubFormatRtfRaster = 305, WICLeadSubFormatAwd = 99, WICLeadSubFormatAbic = 185, WICLeadSubFormatIcaAbic = 184, WICLeadSubFormatTifAbic = 186, WICLeadSubFormatTifJbig2 = 187, WICLeadSubFormatRawLzw = 178, WICLeadSubFormatPdfLeadMrc = 317, WICLeadSubFormatTxt = 316, WICLeadSubFormatFpx = 80, WICLeadSubFormatFpxSingleColor = 81, WICLeadSubFormatFpxJpeg = 82, WICLeadSubFormatFpxJpegQFactor = 83, WICLeadSubFormatDicomGray = 89, WICLeadSubFormatDicomColor = 90, WICLeadSubFormatDicomRleGray = 125, WICLeadSubFormatDicomRleColor = 126, WICLeadSubFormatDicomJpegGray = 127, WICLeadSubFormatDicomJpegColor = 128, WICLeadSubFormatDicomJ2kGray = 293, WICLeadSubFormatDicomJ2kColor = 294, WICLeadSubFormatWmz = 307, WICLeadSubFormatPct = 56, WICLeadSubFormatMrSid = 306, WICLeadSubFormatTifxJbig = 269, WICLeadSubFormatTifxJbigT43 = 270, WICLeadSubFormatTifxJbigT43ItuLab = 271, WICLeadSubFormatTifxJbigT43Gs = 272, WICLeadSubFormatTifxFaxG4 = 273, WICLeadSubFormatTifxFaxG31D = 274, WICLeadSubFormatTifxFaxG32D = 275, WICLeadSubFormatTifxJpeg = 276, WICLeadSubFormatHdp = 318, WICLeadSubFormatHdpGray = 319, WICLeadSubFormatHdpCmyk = 320, WICLeadSubFormatPngIco = 321, WICLeadSubFormatDjvu = 308, WICLeadSubFormatTifZip = 189, WICLeadSubFormatXps = 322, WICLeadSubFormatJpx = 323, WICLeadSubFormatXpsJpeg = 324, WICLeadSubFormatXpsJpeg422 = 325, WICLeadSubFormatXpsJpeg411 = 326, WICLeadSubFormatMng = 327, WICLeadSubFormatMngGray = 329, WICLeadSubFormatMngJng = 330, WICLeadSubFormatMngJng411 = 331, WICLeadSubFormatMngJng422 = 332, WICLeadSubFormatLast = 350 } WICLeadSubFormat; |
The sub-format is one of the property bag property bag items of the 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 IWICLeadBitmapEncoder::GetSubFormats.