TAdvancedSqueezeParams Class Reference

#include "squeezetransformextension.h"

Link against: imagetransform.lib

class TAdvancedSqueezeParams

Detailed Description

This class provides advanced parameters for squeezing

Member Attribute Documentation

iMaxDestSizeInBytes

TUint iMaxDestSizeInBytes

The desired max size of the transformed image in bytes.

iMaxImageSize

TSize iMaxImageSize

The transformed image must not be bigger than this. The size must be bigger than the iMinImageSize

iMinEncodingQuality

TReal32 iMinEncodingQuality

The lowest desired encoding quality. Must be in the range (0.0) to (1.0)

iMinImageSize

TSize iMinImageSize

The transformed image must not be smaller than this. The size must be smaller than the iMaxImageSize

iResizeAction

TInt iResizeAction

The desired behaviour of the auto resize

iSamplingUid

TUid iSamplingUid

The color spacing of the transformed image

Member Enumeration Documentation

Enum TAutoResizeAction

The different behaviours of auto resize

EnumeratorValueDescription
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

Constructor & Destructor Documentation

TAdvancedSqueezeParams ( )

IMPORT_CTAdvancedSqueezeParams()

Constructor: Set the default values for some squeeze params