CSqueezeTransformExtension Class Reference
class CSqueezeTransformExtension : public CImageTransformPluginExtension |
Squeeze Extension to the ImageTransform plugin
The class provides the methods to set the squeeze parameters and is intended to be implemented by the plugins supporting the squeezing of the images. The client can set the desired max size (in bytes) of the squeezed image and it can also enable auto resizing of the image by setting the advanced squeeze parameters. The plugin supporting this extension must use the opaque_data v2 format in RSS file and also the squeeze flag must be set in the opaque_data. The client must retrieve this extension implementation from the plugin using its extension UID.
In the case where the client's desired size cannot be met the operation will squeeze to the smallest file possible and the transform operation will leave with KErrGeneral. The output file must be examined by the client to determine its suitability. The client must clean up if the output is not acceptable.
Inherits from
- CSqueezeTransformExtension
Member Functions Documentation
DoSetAdvancedSqueezeModeL(TAdvancedSqueezeParams *)
DoSetDestSizeInBytes(TUint)
void | DoSetDestSizeInBytes | ( | TUint | aMaxDestDataSize | ) | [protected, pure virtual] |
ReservedVirtual5()
IMPORT_C void | ReservedVirtual5 | ( | ) | [private, virtual] |
Reserved for future-proofing
SetAdvancedSqueezeModeL(TAdvancedSqueezeParams *)
This function sets the advanced squeeze mode params
SetDestSizeInBytes(TUint)
IMPORT_C void | SetDestSizeInBytes | ( | TUint | aMaxDestDataSize | ) | |
This function sets the desired maximum destination data size in bytes.
Parameters
TUint aMaxDestDataSize | The desired max destination data size in bytes |
Member Data Documentation
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.