Specifies the progression order to use when saving JPEG2000 files with an IWICLeadBitmapEncoder.
typedef enum WICLeadJ2kProgressOrder{ WICLeadJ2kProgressLayerResolutionComponentPosition= 0, WICLeadJ2kProgressResolutionLayerComponentPosition= 1, WICLeadJ2kProgressResolutionPositionComponentLayer= 2, WICLeadJ2kProgressPositionComponentResolutionLayer= 3, WICLeadJ2kProgressComponentPositionResolutionLayer= 4, } WICLeadJ2kProgressOrder; |
This enumeration is used with the J2k_ProgressOrder property bag item when saving JPEG2000 files.
WICLeadDitherType Meaning WICLeadJ2kProgressLayerResolutionComponentPosition Quality axis order. Image starts out blurry and becomes clearer and more detailed as additional data is decoded WICLeadJ2kProgressResolutionLayerComponentPosition Resolution-axis order. Image starts out small and becomes larger as additional data is decoded. Higher compression ratios achieved by leaving lower resolutions in the file. WICLeadJ2kProgressResolutionPositionComponentLayer Resolution-axis order. Image starts out small and becomes larger as additional data is decoded. Higher compression ratios achieved by leaving lower resolutions in the file. WICLeadJ2kProgressPositionComponentResolutionLayer Position axis order. Image starts out as a series of blocks starting from the top left corner. Additional portions of the image become visible as more data is decoded. Image data stored by spatial location WICLeadJ2kProgressComponentPositionResolutionLayer Color-axis order. Image starts out gray. Color is added as more data is decoded. Image data stored by color channel, starting with channel Y, then U, then V. If the transform to YUV option is used, the lowest decompressed image level for RGB is grayscale. Otherwise, the output is only the red channel.
For more information, refer to the J2k_ProgressOrder property bag item.
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 LEAD Bitmap Encoder Property Bag: JPEG2000 Specific Options