This document introduces you to the Image Transform (scaling) functionality.
The CImageTransform provides function to scale the still image held in a file or descriptor.
Image Transform Library Details
The DLL that provides the functionality and the library to which your code must link is identified below.
Image Transform function plays an important role for transforming the still image.
Image Transform function works in parallel to CBitmapScaler , the difference being that the CBitmapScaler works on internal bitmap objects ( CFbsBitmap ), whereas CImageTransform works on images stored in files and descriptors. Furthermore, the size of the destination image needs to be specified bearing in mind that the aspect ratio of the source image needs to be preserved.
The key classe is:
CImageTransform provides the client interface to the functionality of the ImageTransform dll. This class is a single unit which can be used easily and can be instantiated without specifying any information about the source or destination images. It is free to implement a scale algorithm but not free to implement decoding or encoding process.
The Image Transform functionality is used for the following:
To scale only a subset of the original image which is provided by setting a clipping rectangle. This acts as if the source image outside the region does not exist causing the clipped image to be resized to the size specified.
This function has an extension interface to incorporates a function ExifMetadata to access the Exif metadata. For more details see Exif support in CimageTransform .
This function supports standard extensions for advanced JPEG functions. For more details see JPEG Image Transform Extension Guide .
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.