Displaying an image on the screen

The Symbian Image Converter Library (ICL) supports the decoding of image files. You can use the ICL architecture to load an image stored in a file or a descriptor and convert it to a CFbsBitmap object. Use this bitmap object, for example, to display the image on the screen of the mobile device after the capture.

For a reference example, see S60 Platform: Image Converter Example on Forum Nokia.

To convert an image to display on the screen

  1. Use the methods of the CImageDecoder (or CBufferedImageDecoder) class to construct your application.

  2. Include ImageConversion.h and Fbs.h header files in the appropriate class file(s).

  3. Make sure you have correct capabilities information set for your application. You need at least the ReadUserData capability.

  4. Make sure imageconversion.lib, bafl.lib, fbscli.lib and efsrv.lib are accessible to your linker when compiling your application by including them in your mmp file or by editing the project properties in your IDE, depending on your build environment.