TImageConvScaler Class Reference
#include
<icl/imageconversionextension.h>
Link against: tsu_icl_frm_01.lib
Detailed Description
Scaling extension for Image Conversion Library. Supports both arbitrary or 'power of two' 1/2, 1/4, 1/8 scaling
Member Enumeration Documentation
Enum TScalerQuality
Quality used during scaling.
Enumerator | Value | Description |
---|
EMinimumQuality | | |
EMediumQuality | | |
EMaximumQuality | | |
Member Function Documentation
GetCapabilities ( TScalerCaps & )
Get the codec plugin's capabilities.
Parameter | Description | aCaps | Returns scaling capabilities of the codec plugin. |
SetScalingL ( const TSize &, TImageConvScaler::TScalerQuality, TBool )
Parameter | Description | aDesiredSize | Proposed size of the scaled image. Note that this may not necessarily be the size returned by a subsequent call to CImageDecoder::GetDestinationSize and is dependant upon the operations (such as scaling, cropping and rotation) requested and also the capabilities of the plugin (which can be queried using TImageConvScaler::GetCapabilities). |
aQuality | Desired quality of the image. Allows codec to lower quality targets to improve performance. |
aLockAspectRatio | Set to ETrue if the aspect ratio of the original image is to be preserved. |
SetScalingL ( TInt, TImageConvScaler::TScalerQuality )
Parameter | Description | aScalingCoeff | Scale to apply to the source. 2 means twice the original size, -2 half the size. Do not confuse this with ReductionFactor where 2 indicates 1/2 size. |
aScalingQuality | Desired quality of the image. Allows codec to lower quality targets to improve performance. |