diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-330FBB90-E622-4FD1-A189-64656F68A10D.dita --- a/Symbian3/SDK/Source/GUID-330FBB90-E622-4FD1-A189-64656F68A10D.dita Wed Mar 31 11:11:55 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ - - - - - -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.

    -
      -
    • Create a CImageDecoder object using CImageDecoder::DataNewL() (for descriptor) -or CImageDecoder::FileNewL() (for file) method.

      -
    • -
    • Select a suitable plugin for the actual decoding.

      -
    • -
    • Request information about the image using, for example, CImageDecoder::FrameInfo() and CImageDecoder::FrameCount().

    • -
    • Decode the image using the CImageDecoder::Convert() method.

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

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

    -
  6. -
  7. 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.

  8. -
-
-
See also -

Image Display -Library Overview

-
-
\ No newline at end of file