class TAdvancedSqueezeParams |
This class provides advanced parameters for squeezing
Public Member Functions | |
---|---|
TAdvancedSqueezeParams() |
Public Attributes | |
---|---|
TUint | iMaxDestSizeInBytes |
TSize | iMaxImageSize |
TReal32 | iMinEncodingQuality |
TSize | iMinImageSize |
TInt | iResizeAction |
TUid | iSamplingUid |
Private Attributes | |
---|---|
TAny * | iPad1 |
TAny * | iPad2 |
TAny * | iPad3 |
TAny * | iPad4 |
IMPORT_C | TAdvancedSqueezeParams | ( | ) |
Constructor: Set the default values for some squeeze params
The different behaviours of auto resize
EAutoResizeActionPreserveSourceEncodingQuality |
Preserves the source encoding quality while shrinking the width and height of the image |
EAutoResizeActionPrioritizeLargeImageSize |
Tries to preserve the max image size while lowering the encoding quality |
EAutoResizeActionResizePrioritizeHighEncodingQuality |
Tries to preserve the highest possible encoding quality while shrinking the width and height of the image |
EAutoResizeActionMiddleCourse |
Simultaneously lower the encoding quality and shrink the width and height of the image |
TUint | iMaxDestSizeInBytes |
The desired max size of the transformed image in bytes.
TSize | iMaxImageSize |
The transformed image must not be bigger than this. The size must be bigger than the iMinImageSize
TReal32 | iMinEncodingQuality |
The lowest desired encoding quality. Must be in the range (0.0) to (1.0)
TSize | iMinImageSize |
The transformed image must not be smaller than this. The size must be smaller than the iMaxImageSize
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.