This document introduces you to the Gifscaler library functionality.
The GifScaler functionality provides scaling and colour quantization of bitmaps as asynchronous operations.
Gifscaler Library Details
You must obtain necessary binaries in the form of DLL file to implement the Gifscaler function.
Gifscaler function plays an important role in Imaging Frameworks to provide bitmaps suitable for gif encoding.
Gifscaler is used to provide bitmaps suitable for gif encoding. The target bitmap is a 256 colours bitmap using a custom palette created by the GifScaler.dll. The transparency information is provided in the form of a mask bitmap. If transparency information is present the output palette contains 255 colours, the remaining palette entry is used for the transparent pixels.
The key class is:
CGifScaler Provides scaling and colour quantization of bitmaps as asynchronous operations. It provides the client interface functionality to the GifScaler.dll.
The Gifscaler functionality is used for the following:
To provide bitmaps suitable for gif encoding.
To provide scaling of bitmaps as asynchronous operations.
To provide colour quantization of bitmaps as asynchronous operations.
To use fast colour quantizer for the small bitmaps.
To provide no memory allocation during the colour quantization process and therefore no RunError() method is required.
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.