diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-76D01385-17CD-5F9A-B3B5-88D77773AA8E.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-76D01385-17CD-5F9A-B3B5-88D77773AA8E.dita Fri Jun 11 12:39:03 2010 +0100 @@ -0,0 +1,34 @@ + + + + + +ICLCodec: +Image Converter Library encoder/decoder plug-ins example +
Description

ICLCodec demonstrates +how to implement encoder and decoder plug-ins for the Image Converter Library. +A decoder converts an image in a particular format into a CFbsBitmap object; +an encoder does the reverse. In the example, the Portable Network Graphics +(PNG) format is handled.

The program is an ECom plug-in that implements:

    +
  • the decoder plug-in +interface CImageDecoderPlugin by the class CPngDecoder

  • +
  • the decoder data reader +interface CImageReadCodec by the class CPngReadCodec

  • +
  • the encoder plug-in +interface CImageEncoderPlugin by the class CPngEncoder

  • +
  • the encoder data writer +interface CImageWriteCodec by the class CPngWriteCodec

  • +

The PNG format allows data to be stored in a number of different +scanline formats (colour/grey-scale depths), so specialist classes are provided +to read and write these formats. Scanline reader classes are derived from CPngReadSubCodec; +writer classes from CPngWriteSubCodec.

+
Download

Click +on the following link to download the example: ICLCodec.zip file

Click: browse to view the example code.

+
Class summary

CImageDecoderPlugin CImageReadCodec CImageEncoderPlugin CImageWriteCodec

+
\ No newline at end of file