This document introduces you to the Imaging Frameworks component.
This is a lightweight component which supports the image conversion function (that enables you to encode and decode an image), the image transformation function and the image display function.
Imaging Frameworks provides access to the Imaging Plug-ins component to facilitate some of the more common image formats.
Note: The image formats listed below, are supported only
for CImageDecoder
and CImageEncoder
:
Format | Encode support | Decode support |
---|---|---|
BMP (Bitmap) |
1,4,8 and 24bpp formats |
1,4,8,16,24,32 bpp and RLE encoded formats |
EXIF (Exchangeable Image File format) |
EXIF 2.2 embedded metadata |
EXIF 2.2 embedded metadata |
GIF (Graphics Interchange Format) |
Single frame, no transparency ( GIF87a format ) |
Single and multi frame, bitmap mask support (GIF87a format and GIF89a format) |
JPEG (Joint Photographic Experts Group) |
Yes |
Yes |
MBM (Multi Bitmap) |
Single frame |
Single and multi frame |
MNG (Multiple Image Network Graphic) |
No |
Yes |
PNG (Portable Network Graphics) |
No transparency |
Bitmap mask support |
SMS OTA (Over The Air) |
No |
Yes |
TIFF (Tagged Image File Format) |
No |
LittleEndian and BigEndian sub-type support |
WBMP (Wireless Bitmap) |
No |
Yes |
ICO (Icon) |
No |
Single and multi frame |
WMF (Windows Meta File) |
No |
Std, apm and clp sub-type support (all valid windows metafiles) |
Imaging Frameworks is a standalone image component in the Multimedia APIs and Frameworks collection.
This component includes the following functionality:
Image Conversion Provides facilities to convert single and multiframe images, stored
in files or descriptors to CFbsBitmap
objects.
The library also provides facilities to convert single frame images
from CFbsBitmap
objects to files and descriptors.
For more information about Image Conversion functionality, see Image Conversion Overview.
Image Transform CImageTransform
provides an interface for scaling
the images which is still pictures encoded in the standard formats
such as JPEG, GIF and PNG. This function works on the images stored
in the files or the descriptors. For more information about Image
Transform functionality, see Image Transform Overview.
Image Display CImageDisplay
provides a convenient interface
to convert the encoded images into CFbsBitmap
object
that are ready to be displayed on the screen. For more information
about Image Display functionality, see Image Display overview.
Image Processor ImageProcessor::CImgProcessor
class is used to
process an image and the TEffect
classes in ImageProcessor
apply various effects like overlay or antique
to an image. For more information about Image Processor functionality,
see Image Processor
overview.
Bitmap
Transform Provides the rotation functionality, the mirroring
functionality and the scaling transformations for CBitmapScaler
bitmaps as asynchronous operations. For more information about Bitmap
Transform functionality, see Bitmap Transform
overview.
GIF Scaler Client Provides the scaling and the colour quantization of bitmaps as an asynchronous operations. This is primarily used to provide bitmaps suitable for the gif encoding. And transparency information can be supplied in the form of a mask bitmap. For more information about GIF Scaler Client functionality, see GIF Scaler Client overview.
JPEG Image
Frame Plug-in Decodes an image data to CFbsBitmap
object from a file or a descriptor containing JPEG data, encodes
an uncompressed CFbsBitmap
object to JPEG data
format within a file or descriptor and allows access to EXIF metadata.
For more information about JPEG Image Frame Plug-in functionality,
see JPEG Image
Frame Plug-in overview.
Media Client Image Provides interface to set image conversion utility functions. For more information about Media Client Image functionality, see Media Client Image overview.