Symbian3/SDK/Source/GUID-636879DE-0D1B-5CB7-9552-5F38A89B3143.dita
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 0 89d6a7a84779
permissions -rw-r--r--
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept xml:lang="en" id="GUID-636879DE-0D1B-5CB7-9552-5F38A89B3143"><title>JPEG Image Frame Plug-in Library Overview </title><prolog><metadata><keywords/></metadata></prolog><conbody><p>This document introduces you to the JPEG Image Frame Plug-in library functionality. </p> <section id="GUID-1AAFF936-882B-5AEF-872F-4DD653F6883C"><title>Purpose</title> <p>JPEG Image Frame Plug-in is the Imaging Frameworks EXIF decoder / encoder Plug-in which provides to decode / encode a JPEG file or descriptor to a binary image data in an uniform way. </p> <p><b>JPEG Image Frame Plug-in Library Details</b> </p> <p>You must obtain necessary binaries in the form of DLL file to implement the JPEG Image Frame Plug-in function. </p> <table id="GUID-74788BC9-55C6-57B8-A19A-42653E12E412"><tgroup cols="3"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/><thead><row><entry>DLL</entry> <entry>LIB</entry> <entry>Short Description</entry> </row> </thead> <tbody><row><entry><p> <xref href="GUID-12A064CE-145D-3666-943C-7B53EAE159E0.dita"><apiname>jpegimageframeplugin.dll</apiname></xref>  </p> </entry> <entry><p> <xref href="GUID-858F428C-2607-3B0D-91EC-5C63E650B073.dita"><apiname>jpegimageframeplugin.lib</apiname></xref>  </p> </entry> <entry><p>These files are used for implementing JPEG Image Frame Plug-in operation. </p> </entry> </row> </tbody> </tgroup> </table> </section> <section><title>Architectural Relationship</title> <p>JPEG Image Frame Plug-in is plug-in for the Imaging Frameworks decoder / encoder plug-in relating to a binary image data. </p> </section> <section><title>Description</title> <p>Inorder to implement the <codeph>JPEGExifPlugin.dll</codeph> four new classes are added they are explained in detail in <xref href="GUID-636879DE-0D1B-5CB7-9552-5F38A89B3143.dita#GUID-636879DE-0D1B-5CB7-9552-5F38A89B3143/GUID-5C8C77EC-588E-5A03-A9DA-521BABBE658D">Key Classes section</xref>. These classes are derived from: </p> <ul><li id="GUID-FBF48CB8-B0AC-57DD-9755-D12D1B24989A"><p> <xref href="GUID-7FA5A371-6171-3CA5-976A-20959D34DFC6.dita"><apiname>CJPEGImageFrameDecoder</apiname></xref> and <xref href="GUID-3BB99DD3-BDF1-3D37-8692-A4E4EA2D0DE9.dita"><apiname>CJPEGImageFrameEncoder</apiname></xref> are derived from EXIF, they are <xref href="GUID-52969E30-A244-3A27-8182-FE105FEDABD7.dita"><apiname>CJPEGExifDecoder</apiname></xref> and <xref href="GUID-6E4966F9-69FD-323D-B61A-979024142478.dita"><apiname>CJPEGExifEncoder</apiname></xref>. </p> </li> <li id="GUID-DC4CFB11-2655-5C71-A919-B442D8B131AC"><p> <xref href="GUID-81CE6256-F900-340B-B41F-A32FE596FCD5.dita"><apiname>CJPEGImageFrameDecoderPlugin</apiname></xref> and <xref href="GUID-C02A47D8-5306-34CB-A6EB-B302BD4BA4F3.dita"><apiname>CJPEGImageFrameEncoderPlugin</apiname></xref> are derived from EXIF plugin, they are <xref href="GUID-4D63D39F-13A6-33D6-BC3A-BFBFC5A2EC88.dita"><apiname>CJPEGExifDecoderPlugin</apiname></xref> and <xref href="GUID-181E9D45-CAFD-3F2B-A1D2-BE3E732A9FD0.dita"><apiname>CJPEGExifEncoderPlugin</apiname></xref>. </p> </li> </ul> </section> <section id="GUID-5C8C77EC-588E-5A03-A9DA-521BABBE658D"><title>Key JPEG Image Frame Plug-in Classes</title> <p>The key classes are: </p> <ul><li id="GUID-7D115BB1-290F-572C-9756-1CFBC12128A3"><p> <xref href="GUID-7FA5A371-6171-3CA5-976A-20959D34DFC6.dita"><apiname>CJPEGImageFrameDecoder</apiname></xref> Use an extension of the EXIF JPEG encoder to encode JPEG image from <xref href="GUID-54159F7E-C9A9-3FB5-806D-751DAF213290.dita"><apiname>CImageFrame</apiname></xref> source type to either a file or a descriptor. </p> </li> <li id="GUID-8DC47293-526D-567D-B5F3-A555750C1661"><p> <xref href="GUID-81CE6256-F900-340B-B41F-A32FE596FCD5.dita"><apiname>CJPEGImageFrameDecoderPlugin</apiname></xref> This class is an extension of the Imaging Frameworks EXIF decoder plug-in which provides to decode a JPEG file or descriptor to <xref href="GUID-54159F7E-C9A9-3FB5-806D-751DAF213290.dita"><apiname>CImageFrame</apiname></xref>. </p> </li> <li id="GUID-54E86AEB-3752-5FBA-A6F7-8A39A2F71A3B"><p> <xref href="GUID-3BB99DD3-BDF1-3D37-8692-A4E4EA2D0DE9.dita"><apiname>CJPEGImageFrameEncoder</apiname></xref> Use an extension of the EXIF JPEG decoder to decode JPEG image from <xref href="GUID-54159F7E-C9A9-3FB5-806D-751DAF213290.dita"><apiname>CImageFrame</apiname></xref> source type to either a file or a descriptor. </p> </li> <li id="GUID-23A1814D-F3AA-5EA6-911B-6E8792E2B62B"><p> <xref href="GUID-C02A47D8-5306-34CB-A6EB-B302BD4BA4F3.dita"><apiname>CJPEGImageFrameEncoderPlugin</apiname></xref> This class is an extension of the Imaging Frameworks EXIF encoder plug-in which provides to encode a JPEG file or descriptor to <xref href="GUID-54159F7E-C9A9-3FB5-806D-751DAF213290.dita"><apiname>CImageFrame</apiname></xref>. </p> </li> </ul> </section> <section><title>Using JPEG Image Frame Plug-in</title> <p>The JPEG Image Frame Plug-in functionality is used for the following: </p> <ul><li id="GUID-53E852D7-780D-5CC2-BF85-D56D897F459D"><p>To Decode image data to a bitmap (RGB data wrapped by a <xref href="GUID-683A1D42-2764-3EB7-BD19-9E12559199AB.dita"><apiname>CFbsBitmap</apiname></xref>) from a file or a descriptor containing JPEG data. </p> </li> <li id="GUID-BDE4CEA0-582B-55A0-9C8B-D1DAD50D96AE"><p>To Encode an uncompressed bitmap (<xref href="GUID-683A1D42-2764-3EB7-BD19-9E12559199AB.dita"><apiname>CFbsBitmap</apiname></xref>) to JPEG data format within a file or a descriptor. </p> </li> <li id="GUID-2A925570-4138-517D-A059-F799A08F080B"><p>It allow access to the EXIF metadata. </p> </li> </ul> </section> </conbody><related-links><link href="GUID-88091838-03FC-550F-9A3D-DA70907EF955.dita"><linktext>Imaging Frameworks Overview</linktext> </link> <link href="GUID-3D9C4B45-EEA0-581C-A9E5-8B2535014930.dita"><linktext>Image Conversion Overview</linktext> </link> <link href="GUID-6914EA3D-6FAB-52DD-A159-990F4ED892A2.dita"><linktext>Image Transform Overview</linktext> </link> <link href="GUID-27220B08-B2E7-5106-9BCC-C86938D3E37D.dita"><linktext>Image Display Overview</linktext> </link> <link href="GUID-C0B39D73-0A3C-5289-A774-7BE590037404.dita"><linktext>Bitmap Transform overview</linktext> </link> <link href="GUID-257E223F-1612-5978-982A-38DE8E08211C.dita"><linktext> Gifscaler Overview</linktext> </link> <link href="GUID-6DC34798-86CE-537D-B3B8-9A94FF77B283.dita"><linktext>Image Encoding Tutorial</linktext> </link> <link href="GUID-B10B048F-37FF-53E7-92B9-83F8C197566A.dita"><linktext>Image Decoding Tutorial</linktext> </link> </related-links></concept>