Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Image Converter Overview


Purpose

Provides a simple interface for common image-related operations. Specifically it provides support for:

The media server supports the following image formats as standard:— jfif (jpg), mbm, bmp (1, 4, 8 or 24 bpp), Wbmp, Ota, Png, Wmf, Wmf Apm, Wmf Clp, TIFF/F (both byte orders), gif (87a and 89a), Ico.

[Top]


Architectural relationships

The rotation, re-scaling and conversion operations are handled by the media server.

Clients using this API must have an active scheduler running in their thread because the implementation of the API uses active objects and callbacks.

[Top]


Description

The API has 3 key concepts: Rotation, re-scaling and format conversion.


Rotation

The API supports simple clockwise rotation operations on a bitmap in 90 degree increments. The bitmap is resized, if necessary.


Re-scaling

The API supports arbitrary re-scaling of a bitmap. The scaling factor is determined by the relative sizes of the source and target bitmap. The aspect ratio can be maintained, if required.


Format conversion

Format conversion operations are provided. Conversions can be done:

Operations to or from a bitmap include size and colour depth conversions. Conversions to a bitmap may also include a down scaling operation.