<!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: image.hpp File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.9 --> <div class="navigation" id="top"> <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="annotated.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> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>image.hpp File Reference</h1>Class Image, defining the interface for all Image subclasses. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="types_8hpp.html">types.hpp</a>"</code><br> <code>#include "<a class="el" href="basicio_8hpp.html">basicio.hpp</a>"</code><br> <code>#include "<a class="el" href="exif_8hpp.html">exif.hpp</a>"</code><br> <code>#include "<a class="el" href="iptc_8hpp.html">iptc.hpp</a>"</code><br> <code>#include "<a class="el" href="xmp_8hpp.html">xmp.hpp</a>"</code><br> <code>#include <string></code><br> <code>#include <vector></code><br> <p> <div class="dynheader"> Include dependency graph for image.hpp:</div> <div class="dynsection"> <p><center><img src="image_8hpp__incl.png" border="0" usemap="#image.hpp_map" alt=""></center> <map name="image.hpp_map"> <area shape="rect" id="node3" href="types_8hpp.html" title="Type definitions for Exiv2 and related functionality." alt="" coords="1341,453,1453,480"><area shape="rect" id="node21" href="basicio_8hpp.html" title="Simple binary IO abstraction." alt="" coords="245,379,376,405"><area shape="rect" id="node29" href="exif_8hpp.html" title="Encoding and decoding of Exif data." alt="" coords="591,155,692,181"><area shape="rect" id="node63" href="iptc_8hpp.html" title="Encoding and decoding of IPTC data." alt="" coords="1299,155,1400,181"><area shape="rect" id="node85" href="xmp_8hpp.html" title="Encoding and decoding of XMP data." alt="" coords="873,80,964,107"><area shape="rect" id="node5" href="version_8hpp.html" title="Precompiler define and a function to test the Exiv2 version. References: Similar..." alt="" coords="1488,528,1619,555"><area shape="rect" id="node31" href="metadatum_8hpp.html" title="Provides abstract base classes Metadatum and Key." alt="" coords="856,304,1008,331"><area shape="rect" id="node34" href="value_8hpp.html" title="Value interface and concrete subclasses." alt="" coords="907,379,1019,405"><area shape="rect" id="node49" href="tags_8hpp.html" title="Exif tag and type information." alt="" coords="729,229,831,256"><area shape="rect" id="node67" href="error_8hpp.html" title="Error class for exceptions." alt="" coords="1843,379,1955,405"><area shape="rect" id="node75" href="datasets_8hpp.html" title="IPTC dataset and type information." alt="" coords="1437,229,1579,256"><area shape="rect" id="node88" href="properties_8hpp.html" title="XMP property and type information. References:  XMP Specification from Adobe (Property..." alt="" coords="956,155,1116,181"></map> </div> <p> <div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dynsection"> <p><center><img src="image_8hpp__dep__incl.png" border="0" usemap="#image.hppdep_map" alt=""></center> <map name="image.hppdep_map"> <area shape="rect" id="node3" href="actions_8hpp.html" title="Implements base class Task, TaskFactory and the various supported actions (derived..." alt="" coords="5,80,136,107"><area shape="rect" id="node5" href="jpgimage_8hpp.html" title="Class JpegImage to access JPEG images." alt="" coords="160,80,301,107"><area shape="rect" id="node7" href="xmpsidecar_8hpp.html" title="An Image subclass to support XMP sidecar files." alt="" coords="325,80,485,107"><area shape="rect" id="node9" href="preview_8hpp.html" title="Classes to access all preview images embedded in an image." alt="" coords="509,80,640,107"><area shape="rect" id="node11" href="bmpimage_8hpp.html" title="Windows Bitmap (BMP) image." alt="" coords="664,80,805,107"><area shape="rect" id="node13" href="cr2image_8hpp.html" title="Class Cr2Image." alt="" coords="829,80,971,107"><area shape="rect" id="node15" href="tiffimage__int_8hpp.html" title="Internal class TiffParserWorker to parse TIFF data." alt="" coords="995,80,1187,107"><area shape="rect" id="node23" href="tiffcomposite__int_8hpp.html" title="Internal classes used in a TIFF composite structure." alt="" coords="1211,80,1443,107"><area shape="rect" id="node27" href="crwimage_8hpp.html" title="Class CrwImage to access Canon CRW images.  References:  The Canon RAW (CRW) File..." alt="" coords="1467,80,1608,107"><area shape="rect" id="node29" href="crwimage__int_8hpp.html" title="Internal classes to support CRW/CIFF format." alt="" coords="1632,80,1813,107"><area shape="rect" id="node31" href="tiffimage_8hpp.html" title="Class TiffImage." alt="" coords="1837,80,1989,107"><area shape="rect" id="node33" href="gifimage_8hpp.html" title="GIF image, implemented using the following references: GIF89 specification by W3C..." alt="" coords="2013,80,2155,107"><area shape="rect" id="node35" href="mrwimage_8hpp.html" title="Minolta RAW image, implemented using the following references: Minolta Raw file format..." alt="" coords="2179,80,2320,107"><area shape="rect" id="node37" href="pngimage_8hpp.html" title="PNG image, implemented using the following references: PNG specification by W3C ..." alt="" coords="2344,80,2485,107"><area shape="rect" id="node39" href="rafimage_8hpp.html" title="Fujifilm RAW image." alt="" coords="2509,80,2651,107"><area shape="rect" id="node41" href="orfimage_8hpp.html" title="Olympus RAW image." alt="" coords="2675,80,2816,107"><area shape="rect" id="node43" href="psdimage_8hpp.html" title="Photoshop image, implemented using the following references: Adobe Photoshop 6.0..." alt="" coords="2840,80,2981,107"><area shape="rect" id="node45" href="tgaimage_8hpp.html" title="Truevision TARGA v2 image, implemented using the following references: Truevision..." alt="" coords="3005,80,3147,107"><area shape="rect" id="node47" href="jp2image_8hpp.html" title="JPEG-2000 image, implemented using the following references: ISO/IEC JTC 1/SC 29/WG1..." alt="" coords="3171,80,3312,107"><area shape="rect" id="node49" href="rw2image_8hpp.html" title="Class Rw2Image." alt="" coords="3336,80,3477,107"><area shape="rect" id="node17" href="cr2image__int_8hpp.html" title="Internal classes to support CR2 image format." alt="" coords="704,155,885,181"><area shape="rect" id="node19" href="orfimage__int_8hpp.html" title="Internal classes to support Olympus RAW image format." alt="" coords="909,155,1091,181"><area shape="rect" id="node21" href="rw2image__int_8hpp.html" title="Internal classes to support RW2 image format." alt="" coords="1115,155,1296,181"><area shape="rect" id="node25" href="makernote__int_8hpp.html" title="Internal Makernote TIFF composite class TiffIfdMakernote and classes for various..." alt="" coords="1320,155,1512,181"></map> </div> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html">Exiv2::Image</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Abstract base class defining the interface for an image. This is the top-level interface to the <a class="el" href="namespaceExiv2.html" title="Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2...">Exiv2</a> library. <a href="classExiv2_1_1Image.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_1ImageFactory.html">Exiv2::ImageFactory</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an <a class="el" href="classExiv2_1_1Image.html" title="Abstract base class defining the interface for an image. This is the top-level interface...">Image</a> instance of the specified type. <a href="classExiv2_1_1ImageFactory.html#_details">More...</a><br></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="mdescLeft"> </td><td class="mdescRight">Provides classes and functions to encode and decode Exif and Iptc data. The <b>libexiv2</b> API consists of the objects of this namespace. <br></td></tr> <p> <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 class="mdescLeft"> </td><td class="mdescRight">Supported image formats. <br></td></tr> <p> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c744f9ab24f7fd0fb9b46b156731aa5a"></a><!-- doxytag: member="image.hpp::NewInstanceFct" ref="c744f9ab24f7fd0fb9b46b156731aa5a" args=")(BasicIo::AutoPtr io, bool create)" --> typedef Image::AutoPtr(* </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#c744f9ab24f7fd0fb9b46b156731aa5a">Exiv2::NewInstanceFct</a> )(BasicIo::AutoPtr io, bool create)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Type for function pointer that creates new <a class="el" href="classExiv2_1_1Image.html" title="Abstract base class defining the interface for an image. This is the top-level interface...">Image</a> instances. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fdcc4a2285707a4efe2defe8806c3c67"></a><!-- doxytag: member="image.hpp::IsThisTypeFct" ref="fdcc4a2285707a4efe2defe8806c3c67" args=")(BasicIo &iIo, bool advance)" --> typedef bool(* </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#fdcc4a2285707a4efe2defe8806c3c67">Exiv2::IsThisTypeFct</a> )(BasicIo &iIo, bool advance)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Type for function pointer that checks image types. <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="8035f84ce88d586abceea4aaf280651c"></a><!-- doxytag: member="image.hpp::append" ref="8035f84ce88d586abceea4aaf280651c" args="(Blob &blob, const byte *buf, uint32_t len)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#8035f84ce88d586abceea4aaf280651c">Exiv2::append</a> (Blob &blob, const byte *buf, uint32_t len)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Append <em>len</em> bytes pointed to by <em>buf</em> to <em>blob</em>. <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="0fa6a19fc7872d83957727f1c1dde0bc"></a><!-- doxytag: member="image.hpp::none" ref="0fa6a19fc7872d83957727f1c1dde0bc" args="" --> const int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2_1_1ImageType.html#0fa6a19fc7872d83957727f1c1dde0bc">Exiv2::ImageType::none</a> = 0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Not an image. <br></td></tr> </table> <hr><h2>Detailed Description</h2> Class Image, defining the interface for all Image subclasses. <p> <dl class="version" compact><dt><b>Version:</b></dt><dd></dd></dl> <dl class="rcs" compact><dt><b>Rev</b></dt><dd>1750 </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>09-Jan-04, ahu: created<br> 11-Feb-04, ahu: isolated as a component<br> 19-Jul-04, brad: revamped to be more flexible and support IPTC<br> 15-Jan-05, brad: inside-out design changes </dd></dl> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jun 25 15:17:20 2009 for Exiv2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>