#include <icl/squeezetransformextension.h>
Link against: imagetransform.lib
| class TAdvancedSqueezeParams |
| Public Attributes | |
|---|---|
| TUint | iMaxDestSizeInBytes |
| TSize | iMaxImageSize |
| TReal32 | iMinEncodingQuality |
| TSize | iMinImageSize |
| TInt | iResizeAction |
| TUid | iSamplingUid |
| Public Member Functions | |
|---|---|
| TAdvancedSqueezeParams() | |
This class provides advanced parameters for squeezing
| 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
The different behaviours of auto resize
| Enumerator | Value | Description |
|---|---|---|
| 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 |