<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Exiv2: jpgimage.hpp File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.4 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul> </div> <h1>jpgimage.hpp File Reference</h1>Class JpegImage to access JPEG images. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="image_8hpp.html">image.hpp</a>"</code><br> <code>#include "<a class="el" href="basicio_8hpp.html">basicio.hpp</a>"</code><br> <code>#include <string></code><br> <p> <div class="dynheader"> Include dependency graph for jpgimage.hpp:</div> <div class="dynsection"> <p><center><img src="jpgimage_8hpp__incl.png" border="0" usemap="#jpgimage.hpp_map" alt=""></center> <map name="jpgimage.hpp_map"> <area shape="rect" href="image_8hpp.html" title="Class JpegImage to access JPEG images." alt="" coords="1200,81,1312,105"><area shape="rect" href="basicio_8hpp.html" title="Simple binary IO abstraction." alt="" coords="1989,380,2120,404"><area shape="rect" href="types_8hpp.html" title="Type definitions for Exiv2 and related functionality." alt="" coords="739,455,851,479"><area shape="rect" href="exif_8hpp.html" title="Encoding and decoding of Exif data." alt="" coords="971,156,1072,180"><area shape="rect" href="iptc_8hpp.html" title="Encoding and decoding of IPTC data." alt="" coords="556,156,657,180"><area shape="rect" href="xmp_8hpp.html" title="Encoding and decoding of XMP data." alt="" coords="1501,156,1592,180"><area shape="rect" href="version_8hpp.html" title="Precompiler define and a function to test the Exiv2 version. References: Similar..." alt="" coords="448,529,579,553"><area shape="rect" href="metadatum_8hpp.html" title="Provides abstract base classes Metadatum and Key." alt="" coords="1357,305,1509,329"><area shape="rect" href="value_8hpp.html" title="Value interface and concrete subclasses." alt="" coords="1104,380,1216,404"><area shape="rect" href="error_8hpp.html" title="Error class for exceptions." alt="" coords="75,380,187,404"><area shape="rect" href="ifd_8hpp.html" title="Encoding and decoding of IFD (Image File Directory) data." alt="" coords="483,380,573,404"><area shape="rect" href="tags_8hpp.html" title="Exif tag and type information." alt="" coords="1028,231,1129,255"><area shape="rect" href="datasets_8hpp.html" title="IPTC dataset and type information." alt="" coords="483,231,624,255"><area shape="rect" href="properties_8hpp.html" title="XMP property and type information. References: XMP Specification from Adobe (Property..." alt="" coords="1652,231,1812,255"></map> </div> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html">Exiv2</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2_1_1ImageType.html">Exiv2::ImageType</a></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structExiv2_1_1Photoshop.html">Exiv2::Photoshop</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Helper class, has methods to deal with Photoshop "Information Resource Blocks" (IRBs). <a href="structExiv2_1_1Photoshop.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1JpegBase.html">Exiv2::JpegBase</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Abstract helper base class to access JPEG images. <a href="classExiv2_1_1JpegBase.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1JpegImage.html">Exiv2::JpegImage</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Class to access JPEG images. <a href="classExiv2_1_1JpegImage.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1ExvImage.html">Exiv2::ExvImage</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Helper class to access Exiv2 files. <a href="classExiv2_1_1ExvImage.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b3b57e946f1aaa003d2551bb6e2e2faa"></a><!-- doxytag: member="jpgimage.hpp::newJpegInstance" ref="b3b57e946f1aaa003d2551bb6e2e2faa" args="(BasicIo::AutoPtr io, bool create)" --> Image::AutoPtr </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#b3b57e946f1aaa003d2551bb6e2e2faa">Exiv2::newJpegInstance</a> (BasicIo::AutoPtr io, bool create)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classExiv2_1_1JpegImage.html" title="Class to access JPEG images.">JpegImage</a> instance and return an auto-pointer to it. Caller owns the returned object and the auto-pointer ensures that it will be deleted. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ab31fb629d1322475db4daf5e57ddd14"></a><!-- doxytag: member="jpgimage.hpp::isJpegType" ref="ab31fb629d1322475db4daf5e57ddd14" args="(BasicIo &iIo, bool advance)" --> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#ab31fb629d1322475db4daf5e57ddd14">Exiv2::isJpegType</a> (BasicIo &iIo, bool advance)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Check if the file iIo is a JPEG image. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="69e26973d8407a813849a2c11d79357b"></a><!-- doxytag: member="jpgimage.hpp::newExvInstance" ref="69e26973d8407a813849a2c11d79357b" args="(BasicIo::AutoPtr io, bool create)" --> Image::AutoPtr </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#69e26973d8407a813849a2c11d79357b">Exiv2::newExvInstance</a> (BasicIo::AutoPtr io, bool create)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classExiv2_1_1ExvImage.html" title="Helper class to access Exiv2 files.">ExvImage</a> instance and return an auto-pointer to it. Caller owns the returned object and the auto-pointer ensures that it will be deleted. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1a53f9bb84413de9c86f64ac4be03d2b"></a><!-- doxytag: member="jpgimage.hpp::isExvType" ref="1a53f9bb84413de9c86f64ac4be03d2b" args="(BasicIo &iIo, bool advance)" --> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#1a53f9bb84413de9c86f64ac4be03d2b">Exiv2::isExvType</a> (BasicIo &iIo, bool advance)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Check if the file iIo is an EXV file. <br></td></tr> <tr><td colspan="2"><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="937f63495908470ff8bf7c94e5ea1298"></a><!-- doxytag: member="jpgimage.hpp::jpeg" ref="937f63495908470ff8bf7c94e5ea1298" args="" --> const int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2_1_1ImageType.html#937f63495908470ff8bf7c94e5ea1298">Exiv2::ImageType::jpeg</a> = 1</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">JPEG image type (see class <a class="el" href="classExiv2_1_1JpegImage.html" title="Class to access JPEG images.">JpegImage</a>). <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="63dc8eee4aa178e786a81b2acbc4da0f"></a><!-- doxytag: member="jpgimage.hpp::exv" ref="63dc8eee4aa178e786a81b2acbc4da0f" args="" --> const int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2_1_1ImageType.html#63dc8eee4aa178e786a81b2acbc4da0f">Exiv2::ImageType::exv</a> = 2</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">EXV image type (see class <a class="el" href="classExiv2_1_1ExvImage.html" title="Helper class to access Exiv2 files.">ExvImage</a>). <br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Class JpegImage to access JPEG images. <p> <dl class="version" compact><dt><b>Version:</b></dt><dd></dd></dl> <dl class="rcs" compact><dt><b>Rev</b></dt><dd>1366 </dd></dl> <dl class="author" compact><dt><b>Author:</b></dt><dd>Andreas Huggel (ahu) <a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a> <p> Brad Schick (brad) <a href="mailto:brad@robotbattle.com">brad@robotbattle.com</a> </dd></dl> <dl class="date" compact><dt><b>Date:</b></dt><dd>15-Jan-05, brad: split out from image.cpp </dd></dl> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 5 11:50:45 2008 for Exiv2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address> </body> </html>