WICLeadAbcQualityFactorPredefined Enumerated Type

Show in webframe

Specifies predefined quality factors that can be used when saving files with the LEAD Abc Bitmap Encoder (CLSID_WICLeadAbcEncoder)

Syntax


            typedef enum WICLeadAbcQualityFactorPredefined{
                    WICLeadAbcLossless            = 0,
                    WICLeadAbcVirtualLossless     = 1,
                    WICLeadAbcRemoveBorder        = 2,
                    WICLeadAbcEnhance             = 3,
                    WICLeadAbcModified1           = 4,
                    WICLeadAbcModified1Fast       = 5,
                    WICLeadAbcModified2           = 6,
                    WICLeadAbcModified2Fast       = 7,
                    WICLeadAbcModified3           = 8,
                    WICLeadAbcModified3Fast       = 9,
                    WICLeadAbcLosslessFast        = 10,
                    WICLeadAbcLossyFast           = 11,
            } WICLeadAbcQualityFactorPredefined;
            

Constants

This enumeration is used with the IWICLeadBitmapEncoder::GetLeadEnumFriendlyName method, and the QualityFactor property bag item.

WICLeadAbcQualityFactorPredefined Meaning
WICLeadAbcLossless Lossless compression. This option compresses a 1-bit file and maintains image data unchanged. Highest quality.
WICLeadAbcVirtualLossless Lossy compression. This option removes the image's noisy pixels and compresses it to a smaller file size than WICLeadAbcLossless.
WICLeadAbcRemoveBorder Lossy compression. This option removes the image's border, if it exists, and compresses it to a smaller file size than WICLeadAbcVirtualLossless.
WICLeadAbcEnhance Lossy compression. This option cleans up the image, removes its border if it exists, and compresses it to a smaller file size than WICLeadAbcRemoveBorder does.
WICLeadAbcModified1 Lossy compression. This option cleans up the image, removes its border if it exists, and compresses it to a smaller file size than WICLeadAbcEnhance does. However, it may distort text or straight lines.
WICLeadAbcModified1Fast Same as WICLeadAbcModified1 except without the border remove or image clean processes.
WICLeadAbcModified2 Lossy compression. This option cleans up the image, removes its border if it exists, and compresses it to a smaller file size than WICLeadAbcModified1 does. However, it may distort text or straight lines. Maximum compression.
WICLeadAbcModified2Fast Same as WICLeadAbcModified2 except without the border remove or image clean processes.
WICLeadAbcModified3 Lossy compression. Provides faster encoding and decoding speed than WICLeadAbcModified1 or WICLeadAbcModified2. Provides the maximum compression.
WICLeadAbcModified3Fast Same as WICLeadAbcModified3 except without the border remove or image clean processes.
WICLeadAbcLosslessFast Faster lossless compression than WICLeadAbcLossless. This option compresses a 1-bit file and maintains image data unchanged. Highest quality. Does not produce compression ratios as high as WICLeadAbcLossless.
WICLeadAbcLossyFast Lossy compression. This is the fastest Abc lossy compression option. Does not produce compression ratios as high as the other lossy options.

Remarks

The values in this enumeration are used when setting the QualityFactor property bag item with the LEAD Abc Bitmap Encoder.
For more information on setting the QualityFactor, refer to the QualityFactor property bag item.

References

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