diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-330FBB90-E622-4FD1-A189-64656F68A10D.dita --- a/Symbian3/PDK/Source/GUID-330FBB90-E622-4FD1-A189-64656F68A10D.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-330FBB90-E622-4FD1-A189-64656F68A10D.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,50 +1,50 @@ - - - - - -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. For a list -of available plugins, see the Symbian OS Library.

    • -
    • 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

-
+ + + + + +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