<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.8"/> <title>Exiv2: image.hpp File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Exiv2 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.8 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <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> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">image.hpp File Reference</div> </div> </div><!--header--> <div class="contents"> <p>Class Image, defining the interface for all Image subclasses. <a href="#details">More...</a></p> <div class="textblock"><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 /> </div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for image.hpp:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"><img src="image_8hpp__incl.png" border="0" usemap="#image_8hpp" alt=""/></div> <map name="image_8hpp" id="image_8hpp"> <area shape="rect" id="node2" href="types_8hpp.html" title="Type definitions for Exiv2 and related functionality. " alt="" coords="599,453,711,480"/><area shape="rect" id="node11" href="basicio_8hpp.html" title="Simple binary IO abstraction. " alt="" coords="297,379,429,405"/><area shape="rect" id="node13" href="exif_8hpp.html" title="Encoding and decoding of Exif data. " alt="" coords="941,155,1043,181"/><area shape="rect" id="node22" href="iptc_8hpp.html" title="Encoding and decoding of IPTC data. " alt="" coords="1473,155,1575,181"/><area shape="rect" id="node26" href="xmp_8hpp.html" title="Encoding and decoding of XMP data. " alt="" coords="826,80,918,107"/><area shape="rect" id="node3" href="version_8hpp.html" title="Precompiler define and a function to test the Exiv2 version. References: Similar versioning defines a..." alt="" coords="511,528,643,555"/><area shape="rect" id="node14" href="metadatum_8hpp.html" title="Provides abstract base classes Metadatum and Key. " alt="" coords="859,304,1011,331"/><area shape="rect" id="node15" href="value_8hpp.html" title="Value interface and concrete subclasses. " alt="" coords="1173,379,1285,405"/><area shape="rect" id="node20" href="tags_8hpp.html" title="Exif tag and type information. " alt="" coords="529,229,631,256"/><area shape="rect" id="node23" href="error_8hpp.html" title="Error class for exceptions, log message class. " alt="" coords="1415,379,1527,405"/><area shape="rect" id="node25" href="datasets_8hpp.html" title="IPTC dataset and type information. " alt="" coords="1150,229,1293,256"/><area shape="rect" id="node27" href="properties_8hpp.html" title="XMP property and type information. References:  XMP Specification from Adobe (Property descriptions c..." alt="" coords="409,155,572,181"/></map> </div> </div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> <div id="dynsection-1-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-1-content" class="dyncontent" style="display:none;"> <div class="center"><img src="image_8hpp__dep__incl.png" border="0" usemap="#image_8hppdep" alt=""/></div> <map name="image_8hppdep" id="image_8hppdep"> <area shape="rect" id="node2" href="actions_8hpp.html" title="Implements base class Task, TaskFactory and the various supported actions (derived from Task)..." alt="" coords="51,80,183,107"/><area shape="rect" id="node3" href="jpgimage_8hpp.html" title="Class JpegImage to access JPEG images. " alt="" coords="2985,80,3128,107"/><area shape="rect" id="node4" href="exiv2_8hpp.html" title="Include all Exiv2 header files. " alt="" coords="2501,155,2613,181"/><area shape="rect" id="node5" href="xmpsidecar_8hpp.html" title="An Image subclass to support XMP sidecar files. " alt="" coords="3203,80,3366,107"/><area shape="rect" id="node6" href="preview_8hpp.html" title="Classes to access all preview images embedded in an image. " alt="" coords="3391,80,3523,107"/><area shape="rect" id="node7" href="asfvideo_8hpp.html" title="An Image subclass to support ASF video files. " alt="" coords="935,80,1077,107"/><area shape="rect" id="node8" href="riffvideo_8hpp.html" title="An Image subclass to support RIFF video files. " alt="" coords="1102,80,1254,107"/><area shape="rect" id="node9" href="bmpimage_8hpp.html" title="Windows Bitmap (BMP) image. " alt="" coords="3547,80,3689,107"/><area shape="rect" id="node10" href="cr2image_8hpp.html" title="Class Cr2Image. " alt="" coords="3713,80,3856,107"/><area shape="rect" id="node11" href="tiffimage__int_8hpp.html" title="Internal class TiffParserWorker to parse TIFF data. " alt="" coords="207,80,399,107"/><area shape="rect" id="node15" href="crwimage_8hpp.html" title="Class CrwImage to access Canon CRW images.  References:  The Canon RAW (CRW) File Format by Phil Harv..." alt="" coords="3880,80,4023,107"/><area shape="rect" id="node16" href="crwimage__int_8hpp.html" title="Internal classes to support CRW/CIFF format. " alt="" coords="1945,80,2128,107"/><area shape="rect" id="node17" href="epsimage_8hpp.html" title="EPS image.  References:  [1] Adobe PostScript Language Document Structuring Conventions Specification..." alt="" coords="424,80,567,107"/><area shape="rect" id="node18" href="tiffimage_8hpp.html" title="Class TiffImage. " alt="" coords="591,80,743,107"/><area shape="rect" id="node19" href="gifimage_8hpp.html" title="GIF image, implemented using the following references: GIF89 specification by W3C  ..." alt="" coords="768,80,911,107"/><area shape="rect" id="node20" href="jp2image_8hpp.html" title="JPEG-2000 image, implemented using the following references: ISO/IEC JTC 1/SC 29/WG1 N2401: JPEG 2000..." alt="" coords="1279,80,1421,107"/><area shape="rect" id="node21" href="mrwimage_8hpp.html" title="Minolta RAW image, implemented using the following references: Minolta Raw file format by Dalibor Jel..." alt="" coords="1445,80,1588,107"/><area shape="rect" id="node22" href="orfimage_8hpp.html" title="Olympus RAW image. " alt="" coords="1612,80,1755,107"/><area shape="rect" id="node23" href="pgfimage_8hpp.html" title="PGF image, implemented using the following references: PGF specification from libpgf web site  ..." alt="" coords="1779,80,1921,107"/><area shape="rect" id="node24" href="pngimage_8hpp.html" title="PNG image, implemented using the following references: PNG specification by W3C  PNG tags list by Phi..." alt="" coords="2152,80,2295,107"/><area shape="rect" id="node25" href="psdimage_8hpp.html" title="Photoshop image, implemented using the following references: Adobe Photoshop 6.0 File Format Specific..." alt="" coords="2319,80,2461,107"/><area shape="rect" id="node26" href="rafimage_8hpp.html" title="Fujifilm RAW image. " alt="" coords="2485,80,2628,107"/><area shape="rect" id="node27" href="rw2image_8hpp.html" title="Class Rw2Image. " alt="" coords="2652,80,2795,107"/><area shape="rect" id="node28" href="tgaimage_8hpp.html" title="Truevision TARGA v2 image, implemented using the following references: Truevision TGA page on Wikiped..." alt="" coords="2819,80,2961,107"/><area shape="rect" id="node29" href="matroskavideo_8hpp.html" title="An Image subclass to support Matroska video files. " alt="" coords="4047,80,4239,107"/><area shape="rect" id="node30" href="quicktimevideo_8hpp.html" title="An Image subclass to support Quick Time video files. " alt="" coords="4263,80,4466,107"/><area shape="rect" id="node12" href="cr2image__int_8hpp.html" title="Internal classes to support CR2 image format. " alt="" coords="419,155,601,181"/><area shape="rect" id="node13" href="orfimage__int_8hpp.html" title="Internal classes to support Olympus RAW image format. " alt="" coords="5,155,188,181"/><area shape="rect" id="node14" href="rw2image__int_8hpp.html" title="Internal classes to support RW2 image format. " alt="" coords="212,155,395,181"/></map> </div> </div><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structExiv2_1_1NativePreview.html">Exiv2::NativePreview</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Native preview information. This is meant to be used only by the <a class="el" href="classExiv2_1_1PreviewManager.html" title="Class for extracting preview images from image metadata. ">PreviewManager</a>. <a href="structExiv2_1_1NativePreview.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" 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 class="memdesc:"><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 API consists of ...">Exiv2</a> library. <a href="classExiv2_1_1Image.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" 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 class="memdesc:"><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 to the Exiv2...">Image</a> instance of the specified type. <a href="classExiv2_1_1ImageFactory.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespaceExiv2"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html">Exiv2</a></td></tr> <tr class="memdesc:namespaceExiv2"><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> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:namespaceExiv2_1_1ImageType"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2_1_1ImageType.html">Exiv2::ImageType</a></td></tr> <tr class="memdesc:namespaceExiv2_1_1ImageType"><td class="mdescLeft"> </td><td class="mdescRight">Supported image formats. <br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:af72182be3e51f30ef8cb55a86dfa8e67"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af72182be3e51f30ef8cb55a86dfa8e67"></a> typedef std::vector<br class="typebreak" /> < NativePreview > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#af72182be3e51f30ef8cb55a86dfa8e67">Exiv2::NativePreviewList</a></td></tr> <tr class="memdesc:af72182be3e51f30ef8cb55a86dfa8e67"><td class="mdescLeft"> </td><td class="mdescRight">List of native previews. This is meant to be used only by the <a class="el" href="classExiv2_1_1PreviewManager.html" title="Class for extracting preview images from image metadata. ">PreviewManager</a>. <br /></td></tr> <tr class="separator:af72182be3e51f30ef8cb55a86dfa8e67"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac744f9ab24f7fd0fb9b46b156731aa5a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac744f9ab24f7fd0fb9b46b156731aa5a"></a> typedef Image::AutoPtr(* </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#ac744f9ab24f7fd0fb9b46b156731aa5a">Exiv2::NewInstanceFct</a> )(BasicIo::AutoPtr io, bool create)</td></tr> <tr class="memdesc:ac744f9ab24f7fd0fb9b46b156731aa5a"><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 to the Exiv2...">Image</a> instances. <br /></td></tr> <tr class="separator:ac744f9ab24f7fd0fb9b46b156731aa5a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afdcc4a2285707a4efe2defe8806c3c67"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afdcc4a2285707a4efe2defe8806c3c67"></a> typedef bool(* </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#afdcc4a2285707a4efe2defe8806c3c67">Exiv2::IsThisTypeFct</a> )(BasicIo &iIo, bool advance)</td></tr> <tr class="memdesc:afdcc4a2285707a4efe2defe8806c3c67"><td class="mdescLeft"> </td><td class="mdescRight">Type for function pointer that checks image types. <br /></td></tr> <tr class="separator:afdcc4a2285707a4efe2defe8806c3c67"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a717a4bb844932a834dd109ce2554a2a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a717a4bb844932a834dd109ce2554a2a4"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#a717a4bb844932a834dd109ce2554a2a4">Exiv2::append</a> (<a class="el" href="namespaceExiv2.html#a6e7b9a2ef47caec919b15f1ae6ff4872">Exiv2::Blob</a> &blob, const <a class="el" href="namespaceExiv2.html#a16f60a5bd4207fe155f6cf93a15efa72">byte</a> *buf, uint32_t len)</td></tr> <tr class="memdesc:a717a4bb844932a834dd109ce2554a2a4"><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 class="separator:a717a4bb844932a834dd109ce2554a2a4"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:a0fa6a19fc7872d83957727f1c1dde0bc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0fa6a19fc7872d83957727f1c1dde0bc"></a> const int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2_1_1ImageType.html#a0fa6a19fc7872d83957727f1c1dde0bc">Exiv2::ImageType::none</a> = 0</td></tr> <tr class="memdesc:a0fa6a19fc7872d83957727f1c1dde0bc"><td class="mdescLeft"> </td><td class="mdescRight">Not an image. <br /></td></tr> <tr class="separator:a0fa6a19fc7872d83957727f1c1dde0bc"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Class Image, defining the interface for all Image subclasses. </p> <dl class="section version"><dt>Version</dt><dd></dd></dl> <dl class="section rcs"><dt>Rev</dt><dd>3091 </dd></dl> <dl class="section author"><dt>Author</dt><dd>Andreas Huggel (ahu) <a href="#" onclick="location.href='mai'+'lto:'+'ahu'+'gg'+'el@'+'gm'+'x.n'+'et'; return false;">ahuggel@gmx.net</a> </dd> <dd> Brad Schick (brad) <a href="#" onclick="location.href='mai'+'lto:'+'bra'+'d@'+'rob'+'ot'+'bat'+'tl'+'e.c'+'om'; return false;">brad@robotbattle.com</a> </dd></dl> <dl class="section date"><dt>Date</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></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Mar 4 2016 17:51:49 for Exiv2 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.8 </small></address> </body> </html>