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.