Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates > by-pkgid > 12cd2b60e7ffa1b93f26cacdd7197eb9 > files > 282

exiv2-doc-0.24-5.1.mga5.noarch.rpm

<!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: Exiv2::Image Class 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&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><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="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</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="namespaceExiv2.html">Exiv2</a></li><li class="navelem"><a class="el" href="classExiv2_1_1Image.html">Image</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classExiv2_1_1Image-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Exiv2::Image Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>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></p>

<p><code>#include &lt;image.hpp&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Exiv2::Image:</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="classExiv2_1_1Image__inherit__graph.png" border="0" usemap="#Exiv2_1_1Image_inherit__map" alt="Inheritance graph"/></div>
<map name="Exiv2_1_1Image_inherit__map" id="Exiv2_1_1Image_inherit__map">
<area shape="rect" id="node2" href="classExiv2_1_1AsfVideo.html" title="Class to access ASF video files. " alt="" coords="226,5,398,32"/><area shape="rect" id="node3" href="classExiv2_1_1BmpImage.html" title="Class to access Windows bitmaps. This is just a stub &#45; we only read width and height. " alt="" coords="226,56,398,83"/><area shape="rect" id="node4" href="classExiv2_1_1Cr2Image.html" title="Class to access raw Canon CR2 images. Exif metadata is supported directly, IPTC is read from the Exif..." alt="" coords="226,107,398,133"/><area shape="rect" id="node5" href="classExiv2_1_1CrwImage.html" title="Class to access raw Canon CRW images. Only Exif metadata and a comment are supported. CRW format does not contain IPTC metadata. " alt="" coords="226,157,398,184"/><area shape="rect" id="node6" href="classExiv2_1_1EpsImage.html" title="Class to access EPS images. " alt="" coords="226,208,398,235"/><area shape="rect" id="node7" href="classExiv2_1_1GifImage.html" title="Class to access raw GIF images. Exif/IPTC metadata are supported directly. " alt="" coords="226,259,398,285"/><area shape="rect" id="node8" href="classExiv2_1_1Jp2Image.html" title="Class to access JPEG&#45;2000 images. " alt="" coords="226,309,398,336"/><area shape="rect" id="node9" href="classExiv2_1_1JpegBase.html" title="Abstract helper base class to access JPEG images. " alt="" coords="226,360,398,387"/><area shape="rect" id="node12" href="classExiv2_1_1MatroskaVideo.html" title="Class to access Matroska video files. " alt="" coords="201,411,423,437"/><area shape="rect" id="node13" href="classExiv2_1_1MrwImage.html" title="Class to access raw Minolta MRW images. Exif metadata is supported directly, IPTC is read from the Ex..." alt="" coords="226,461,398,488"/><area shape="rect" id="node14" href="classExiv2_1_1OrfImage.html" title="Class to access raw Olympus ORF images. Exif metadata is supported directly, IPTC is read from the Ex..." alt="" coords="226,512,398,539"/><area shape="rect" id="node15" href="classExiv2_1_1PgfImage.html" title="Class to access PGF images. Exif and IPTC metadata are supported directly. " alt="" coords="226,563,398,589"/><area shape="rect" id="node16" href="classExiv2_1_1PngImage.html" title="Class to access PNG images. Exif and IPTC metadata are supported directly. " alt="" coords="226,613,398,640"/><area shape="rect" id="node17" href="classExiv2_1_1PsdImage.html" title="Class to access raw Photoshop images. " alt="" coords="226,664,398,691"/><area shape="rect" id="node18" href="classExiv2_1_1QuickTimeVideo.html" title="Class to access QuickTime video files. " alt="" coords="196,715,428,741"/><area shape="rect" id="node19" href="classExiv2_1_1RafImage.html" title="Class to access raw Fujifilm RAF images. Exif metadata is supported directly, IPTC is read from the E..." alt="" coords="226,765,398,792"/><area shape="rect" id="node20" href="classExiv2_1_1RiffVideo.html" title="Class to access RIFF video files. " alt="" coords="221,816,403,843"/><area shape="rect" id="node21" href="classExiv2_1_1Rw2Image.html" title="Class to access raw Panasonic RW2 images. Exif metadata is supported directly, IPTC and XMP are read ..." alt="" coords="226,867,398,893"/><area shape="rect" id="node22" href="classExiv2_1_1TgaImage.html" title="Class to access raw TARGA images. This is just a stub &#45; we only read width and height. " alt="" coords="226,917,398,944"/><area shape="rect" id="node23" href="classExiv2_1_1TiffImage.html" title="Class to access TIFF images. Exif metadata is supported directly, IPTC is read from the Exif data..." alt="" coords="221,968,403,995"/><area shape="rect" id="node24" href="classExiv2_1_1XmpSidecar.html" title="Class to access XMP sidecar files. They contain only XMP metadata. " alt="" coords="216,1019,408,1045"/><area shape="rect" id="node10" href="classExiv2_1_1ExvImage.html" title="Helper class to access Exiv2 files. " alt="" coords="481,335,653,361"/><area shape="rect" id="node11" href="classExiv2_1_1JpegImage.html" title="Class to access JPEG images. " alt="" coords="476,385,659,412"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for Exiv2::Image:</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="classExiv2_1_1Image__coll__graph.png" border="0" usemap="#Exiv2_1_1Image_coll__map" alt="Collaboration graph"/></div>
<map name="Exiv2_1_1Image_coll__map" id="Exiv2_1_1Image_coll__map">
<area shape="rect" id="node3" href="structExiv2_1_1NativePreview.html" title="Native preview information. This is meant to be used only by the PreviewManager. " alt="" coords="539,44,761,71"/><area shape="rect" id="node4" title="STL class. " alt="" coords="257,32,389,59"/><area shape="rect" id="node5" title="STL class. " alt="" coords="5,25,208,66"/><area shape="rect" id="node6" title="STL class. " alt="" coords="559,95,741,121"/><area shape="rect" id="node13" title="STL class. " alt="" coords="549,145,751,172"/><area shape="rect" id="node8" href="classExiv2_1_1ExifData.html" title="A container for Exif data. This is a top&#45;level class of the Exiv2 library. The container holds Exifda..." alt="" coords="1056,196,1228,223"/><area shape="rect" id="node9" href="classExiv2_1_1XmpData.html" title="A container for XMP data. This is a top&#45;level class of the Exiv2 library. " alt="" coords="1061,247,1223,273"/><area shape="rect" id="node10" href="classExiv2_1_1IptcData.html" title="A container for IPTC data. This is a top&#45;level class of the Exiv2 library. " alt="" coords="1056,297,1228,324"/><area shape="rect" id="node12" href="classExiv2_1_1BasicIo.html" title="An interface for simple binary IO. " alt="" coords="569,196,731,223"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a89ad3ffe7a4e8a943d267d77843415fb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89ad3ffe7a4e8a943d267d77843415fb"></a>
typedef std::auto_ptr&lt; <a class="el" href="classExiv2_1_1Image.html">Image</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a89ad3ffe7a4e8a943d267d77843415fb">AutoPtr</a></td></tr>
<tr class="memdesc:a89ad3ffe7a4e8a943d267d77843415fb"><td class="mdescLeft">&#160;</td><td class="mdescRight"><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> auto_ptr type. <br /></td></tr>
<tr class="separator:a89ad3ffe7a4e8a943d267d77843415fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Creators</div></td></tr>
<tr class="memitem:ae11f75b7ba9228b3aec7f6dccc5ea081"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae11f75b7ba9228b3aec7f6dccc5ea081"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#ae11f75b7ba9228b3aec7f6dccc5ea081">Image</a> (int imageType, uint16_t supportedMetadata, <a class="el" href="classExiv2_1_1BasicIo.html#af8f989522925b884d8c9d3a257265fa1">BasicIo::AutoPtr</a> <a class="el" href="classExiv2_1_1Image.html#aefb1351187c3d68cb2f6e45d575ef59d">io</a>)</td></tr>
<tr class="memdesc:ae11f75b7ba9228b3aec7f6dccc5ea081"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor taking the image type, a bitmap of the supported metadata types and an auto-pointer that owns an IO instance. See subclass constructor doc. <br /></td></tr>
<tr class="separator:ae11f75b7ba9228b3aec7f6dccc5ea081"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8320cf3a0e02b4996ccf11b88afb9d38"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8320cf3a0e02b4996ccf11b88afb9d38"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a8320cf3a0e02b4996ccf11b88afb9d38">~Image</a> ()</td></tr>
<tr class="memdesc:a8320cf3a0e02b4996ccf11b88afb9d38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual Destructor. <br /></td></tr>
<tr class="separator:a8320cf3a0e02b4996ccf11b88afb9d38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr class="memitem:a198b8d5924d6441748aa162130c96a5f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a198b8d5924d6441748aa162130c96a5f">readMetadata</a> ()=0</td></tr>
<tr class="memdesc:a198b8d5924d6441748aa162130c96a5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read all metadata supported by a specific image format from the image. Before this method is called, the image metadata will be cleared.  <a href="#a198b8d5924d6441748aa162130c96a5f">More...</a><br /></td></tr>
<tr class="separator:a198b8d5924d6441748aa162130c96a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9f7e86aac2f656473e456e16550ab58"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58">writeMetadata</a> ()=0</td></tr>
<tr class="memdesc:af9f7e86aac2f656473e456e16550ab58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write metadata back to the image.  <a href="#af9f7e86aac2f656473e456e16550ab58">More...</a><br /></td></tr>
<tr class="separator:af9f7e86aac2f656473e456e16550ab58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50787e6b2b88ab4844ed09a6d32d91cd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a50787e6b2b88ab4844ed09a6d32d91cd">setExifData</a> (const <a class="el" href="classExiv2_1_1ExifData.html">ExifData</a> &amp;<a class="el" href="classExiv2_1_1Image.html#acc0dd47f87be88458e1c6e18b463a536">exifData</a>)</td></tr>
<tr class="memdesc:a50787e6b2b88ab4844ed09a6d32d91cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign new Exif data. The new Exif data is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called.  <a href="#a50787e6b2b88ab4844ed09a6d32d91cd">More...</a><br /></td></tr>
<tr class="separator:a50787e6b2b88ab4844ed09a6d32d91cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67cf025df937da851e1f587489c5e6a1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67cf025df937da851e1f587489c5e6a1"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a67cf025df937da851e1f587489c5e6a1">clearExifData</a> ()</td></tr>
<tr class="memdesc:a67cf025df937da851e1f587489c5e6a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase any buffered Exif data. Exif data is not removed from the actual image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. <br /></td></tr>
<tr class="separator:a67cf025df937da851e1f587489c5e6a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19bfac3c9245ca5c4c471e241bd33606"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a19bfac3c9245ca5c4c471e241bd33606">setIptcData</a> (const <a class="el" href="classExiv2_1_1IptcData.html">IptcData</a> &amp;<a class="el" href="classExiv2_1_1Image.html#ac68e4cb2fc5eb685a56ea06333fe0e4f">iptcData</a>)</td></tr>
<tr class="memdesc:a19bfac3c9245ca5c4c471e241bd33606"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign new IPTC data. The new IPTC data is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called.  <a href="#a19bfac3c9245ca5c4c471e241bd33606">More...</a><br /></td></tr>
<tr class="separator:a19bfac3c9245ca5c4c471e241bd33606"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bb36c698ce3ee89654fe8177c8e962a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8bb36c698ce3ee89654fe8177c8e962a"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a8bb36c698ce3ee89654fe8177c8e962a">clearIptcData</a> ()</td></tr>
<tr class="memdesc:a8bb36c698ce3ee89654fe8177c8e962a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase any buffered IPTC data. IPTC data is not removed from the actual image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. <br /></td></tr>
<tr class="separator:a8bb36c698ce3ee89654fe8177c8e962a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c6aff4701c23158c2d79598c26c18ad"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a8c6aff4701c23158c2d79598c26c18ad">setXmpPacket</a> (const std::string &amp;<a class="el" href="classExiv2_1_1Image.html#a356eca19190afb6c6cc2fa02aa936cdd">xmpPacket</a>)</td></tr>
<tr class="memdesc:a8c6aff4701c23158c2d79598c26c18ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a raw XMP packet. The new XMP packet is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called.  <a href="#a8c6aff4701c23158c2d79598c26c18ad">More...</a><br /></td></tr>
<tr class="separator:a8c6aff4701c23158c2d79598c26c18ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a797b7909cb55019289f5f1a7fa9086cc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a797b7909cb55019289f5f1a7fa9086cc">clearXmpPacket</a> ()</td></tr>
<tr class="memdesc:a797b7909cb55019289f5f1a7fa9086cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase the buffered XMP packet. XMP data is not removed from the actual image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called.  <a href="#a797b7909cb55019289f5f1a7fa9086cc">More...</a><br /></td></tr>
<tr class="separator:a797b7909cb55019289f5f1a7fa9086cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fff5a898432265e656457ac8f7f666b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a5fff5a898432265e656457ac8f7f666b">setXmpData</a> (const <a class="el" href="classExiv2_1_1XmpData.html">XmpData</a> &amp;<a class="el" href="classExiv2_1_1Image.html#aade24695d8ac332f0402dcb10d601382">xmpData</a>)</td></tr>
<tr class="memdesc:a5fff5a898432265e656457ac8f7f666b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign new XMP data. The new XMP data is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called.  <a href="#a5fff5a898432265e656457ac8f7f666b">More...</a><br /></td></tr>
<tr class="separator:a5fff5a898432265e656457ac8f7f666b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a910871299f87e8c075e5c977a37dd943"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a910871299f87e8c075e5c977a37dd943">clearXmpData</a> ()</td></tr>
<tr class="memdesc:a910871299f87e8c075e5c977a37dd943"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase any buffered XMP data. XMP data is not removed from the actual image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called.  <a href="#a910871299f87e8c075e5c977a37dd943">More...</a><br /></td></tr>
<tr class="separator:a910871299f87e8c075e5c977a37dd943"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3c4746e941aa39bb7762b7b7da108a8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#af3c4746e941aa39bb7762b7b7da108a8">setComment</a> (const std::string &amp;<a class="el" href="classExiv2_1_1Image.html#aab844df269923ff5ea2b0b5e55e1ea2f">comment</a>)</td></tr>
<tr class="memdesc:af3c4746e941aa39bb7762b7b7da108a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the image comment. The new comment is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called.  <a href="#af3c4746e941aa39bb7762b7b7da108a8">More...</a><br /></td></tr>
<tr class="separator:af3c4746e941aa39bb7762b7b7da108a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62891a2c703c2c546e22605d01b1fdab"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62891a2c703c2c546e22605d01b1fdab"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a62891a2c703c2c546e22605d01b1fdab">clearComment</a> ()</td></tr>
<tr class="memdesc:a62891a2c703c2c546e22605d01b1fdab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase any buffered comment. Comment is not removed from the actual image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. <br /></td></tr>
<tr class="separator:a62891a2c703c2c546e22605d01b1fdab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5374f217a84fadfe4ba97bebf00ae2b3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a5374f217a84fadfe4ba97bebf00ae2b3">setMetadata</a> (const <a class="el" href="classExiv2_1_1Image.html">Image</a> &amp;image)</td></tr>
<tr class="memdesc:a5374f217a84fadfe4ba97bebf00ae2b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy all existing metadata from source <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>. The data is copied into internal buffers and is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called.  <a href="#a5374f217a84fadfe4ba97bebf00ae2b3">More...</a><br /></td></tr>
<tr class="separator:a5374f217a84fadfe4ba97bebf00ae2b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd9153e3fc83f31b4d63b56d530688cd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd9153e3fc83f31b4d63b56d530688cd"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#afd9153e3fc83f31b4d63b56d530688cd">clearMetadata</a> ()</td></tr>
<tr class="memdesc:afd9153e3fc83f31b4d63b56d530688cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase all buffered metadata. Metadata is not removed from the actual image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. <br /></td></tr>
<tr class="separator:afd9153e3fc83f31b4d63b56d530688cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc0dd47f87be88458e1c6e18b463a536"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classExiv2_1_1ExifData.html">ExifData</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#acc0dd47f87be88458e1c6e18b463a536">exifData</a> ()</td></tr>
<tr class="memdesc:acc0dd47f87be88458e1c6e18b463a536"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an <a class="el" href="classExiv2_1_1ExifData.html" title="A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...">ExifData</a> instance containing currently buffered Exif data.  <a href="#acc0dd47f87be88458e1c6e18b463a536">More...</a><br /></td></tr>
<tr class="separator:acc0dd47f87be88458e1c6e18b463a536"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac68e4cb2fc5eb685a56ea06333fe0e4f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classExiv2_1_1IptcData.html">IptcData</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#ac68e4cb2fc5eb685a56ea06333fe0e4f">iptcData</a> ()</td></tr>
<tr class="memdesc:ac68e4cb2fc5eb685a56ea06333fe0e4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an <a class="el" href="classExiv2_1_1IptcData.html" title="A container for IPTC data. This is a top-level class of the Exiv2 library. ">IptcData</a> instance containing currently buffered IPTC data.  <a href="#ac68e4cb2fc5eb685a56ea06333fe0e4f">More...</a><br /></td></tr>
<tr class="separator:ac68e4cb2fc5eb685a56ea06333fe0e4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aade24695d8ac332f0402dcb10d601382"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classExiv2_1_1XmpData.html">XmpData</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#aade24695d8ac332f0402dcb10d601382">xmpData</a> ()</td></tr>
<tr class="memdesc:aade24695d8ac332f0402dcb10d601382"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an <a class="el" href="classExiv2_1_1XmpData.html" title="A container for XMP data. This is a top-level class of the Exiv2 library. ">XmpData</a> instance containing currently buffered XMP data.  <a href="#aade24695d8ac332f0402dcb10d601382">More...</a><br /></td></tr>
<tr class="separator:aade24695d8ac332f0402dcb10d601382"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a356eca19190afb6c6cc2fa02aa936cdd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a356eca19190afb6c6cc2fa02aa936cdd"></a>
virtual std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a356eca19190afb6c6cc2fa02aa936cdd">xmpPacket</a> ()</td></tr>
<tr class="memdesc:a356eca19190afb6c6cc2fa02aa936cdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a modifiable reference to the raw XMP packet. <br /></td></tr>
<tr class="separator:a356eca19190afb6c6cc2fa02aa936cdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab64199a4be87a12f81bd111ce4019dfc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#ab64199a4be87a12f81bd111ce4019dfc">writeXmpFromPacket</a> (bool flag)</td></tr>
<tr class="memdesc:ab64199a4be87a12f81bd111ce4019dfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine the source when writing XMP.  <a href="#ab64199a4be87a12f81bd111ce4019dfc">More...</a><br /></td></tr>
<tr class="separator:ab64199a4be87a12f81bd111ce4019dfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1533e0b8d24c49974d0dc59911c330a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#af1533e0b8d24c49974d0dc59911c330a">setByteOrder</a> (<a class="el" href="namespaceExiv2.html#a94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> <a class="el" href="classExiv2_1_1Image.html#a4d616c94b3d8129a3abcbec2c200feda">byteOrder</a>)</td></tr>
<tr class="memdesc:af1533e0b8d24c49974d0dc59911c330a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the byte order to encode the Exif metadata in.  <a href="#af1533e0b8d24c49974d0dc59911c330a">More...</a><br /></td></tr>
<tr class="separator:af1533e0b8d24c49974d0dc59911c330a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr class="memitem:a4d616c94b3d8129a3abcbec2c200feda"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d616c94b3d8129a3abcbec2c200feda"></a>
<a class="el" href="namespaceExiv2.html#a94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a4d616c94b3d8129a3abcbec2c200feda">byteOrder</a> () const </td></tr>
<tr class="memdesc:a4d616c94b3d8129a3abcbec2c200feda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the byte order in which the Exif metadata of the image is encoded. Initially, it is not set (<em>invalidByteOrder</em>). <br /></td></tr>
<tr class="separator:a4d616c94b3d8129a3abcbec2c200feda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a057cb663d5666ca5c0515a3957d15102"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a057cb663d5666ca5c0515a3957d15102">good</a> () const </td></tr>
<tr class="memdesc:a057cb663d5666ca5c0515a3957d15102"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the <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 is valid. Use after object construction.  <a href="#a057cb663d5666ca5c0515a3957d15102">More...</a><br /></td></tr>
<tr class="separator:a057cb663d5666ca5c0515a3957d15102"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c517b500586613595e2e1b62601657a"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a5c517b500586613595e2e1b62601657a">mimeType</a> () const =0</td></tr>
<tr class="memdesc:a5c517b500586613595e2e1b62601657a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the MIME type of the image.  <a href="#a5c517b500586613595e2e1b62601657a">More...</a><br /></td></tr>
<tr class="separator:a5c517b500586613595e2e1b62601657a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b13d0604218421d8af6e834031d9f4f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b13d0604218421d8af6e834031d9f4f"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a0b13d0604218421d8af6e834031d9f4f">pixelWidth</a> () const </td></tr>
<tr class="memdesc:a0b13d0604218421d8af6e834031d9f4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the pixel width of the image. <br /></td></tr>
<tr class="separator:a0b13d0604218421d8af6e834031d9f4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3068eecea5394c4c66ae818eaa0eb81"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3068eecea5394c4c66ae818eaa0eb81"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#ac3068eecea5394c4c66ae818eaa0eb81">pixelHeight</a> () const </td></tr>
<tr class="memdesc:ac3068eecea5394c4c66ae818eaa0eb81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the pixel height of the image. <br /></td></tr>
<tr class="separator:ac3068eecea5394c4c66ae818eaa0eb81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a554e1ca9eefe79b7aed83c3ac6c52f"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classExiv2_1_1ExifData.html">ExifData</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a7a554e1ca9eefe79b7aed83c3ac6c52f">exifData</a> () const </td></tr>
<tr class="memdesc:a7a554e1ca9eefe79b7aed83c3ac6c52f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an <a class="el" href="classExiv2_1_1ExifData.html" title="A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...">ExifData</a> instance containing currently buffered Exif data.  <a href="#a7a554e1ca9eefe79b7aed83c3ac6c52f">More...</a><br /></td></tr>
<tr class="separator:a7a554e1ca9eefe79b7aed83c3ac6c52f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae27538d548dfd0a06dd6b316bbd16c50"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classExiv2_1_1IptcData.html">IptcData</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#ae27538d548dfd0a06dd6b316bbd16c50">iptcData</a> () const </td></tr>
<tr class="memdesc:ae27538d548dfd0a06dd6b316bbd16c50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an <a class="el" href="classExiv2_1_1IptcData.html" title="A container for IPTC data. This is a top-level class of the Exiv2 library. ">IptcData</a> instance containing currently buffered IPTC data.  <a href="#ae27538d548dfd0a06dd6b316bbd16c50">More...</a><br /></td></tr>
<tr class="separator:ae27538d548dfd0a06dd6b316bbd16c50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d15c63b1719b6fa6c96fbde3e0cc965"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classExiv2_1_1XmpData.html">XmpData</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a9d15c63b1719b6fa6c96fbde3e0cc965">xmpData</a> () const </td></tr>
<tr class="memdesc:a9d15c63b1719b6fa6c96fbde3e0cc965"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an <a class="el" href="classExiv2_1_1XmpData.html" title="A container for XMP data. This is a top-level class of the Exiv2 library. ">XmpData</a> instance containing currently buffered XMP data.  <a href="#a9d15c63b1719b6fa6c96fbde3e0cc965">More...</a><br /></td></tr>
<tr class="separator:a9d15c63b1719b6fa6c96fbde3e0cc965"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab844df269923ff5ea2b0b5e55e1ea2f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab844df269923ff5ea2b0b5e55e1ea2f"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#aab844df269923ff5ea2b0b5e55e1ea2f">comment</a> () const </td></tr>
<tr class="memdesc:aab844df269923ff5ea2b0b5e55e1ea2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a copy of the image comment. May be an empty string. <br /></td></tr>
<tr class="separator:aab844df269923ff5ea2b0b5e55e1ea2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32198b3933c3e9637eea68b565b17749"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32198b3933c3e9637eea68b565b17749"></a>
virtual const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a32198b3933c3e9637eea68b565b17749">xmpPacket</a> () const </td></tr>
<tr class="memdesc:a32198b3933c3e9637eea68b565b17749"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the raw XMP packet as a string. <br /></td></tr>
<tr class="separator:a32198b3933c3e9637eea68b565b17749"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefb1351187c3d68cb2f6e45d575ef59d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#aefb1351187c3d68cb2f6e45d575ef59d">io</a> () const </td></tr>
<tr class="memdesc:aefb1351187c3d68cb2f6e45d575ef59d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a reference to the <a class="el" href="classExiv2_1_1BasicIo.html" title="An interface for simple binary IO. ">BasicIo</a> instance being used for Io.  <a href="#aefb1351187c3d68cb2f6e45d575ef59d">More...</a><br /></td></tr>
<tr class="separator:aefb1351187c3d68cb2f6e45d575ef59d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa50060fa3ee369575b26468021858586"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceExiv2.html#af5f0ea6c944c786f7c4c4841fa22b16c">AccessMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#aa50060fa3ee369575b26468021858586">checkMode</a> (<a class="el" href="namespaceExiv2.html#acca494c8cf80f3ac8a804e1b54afffca">MetadataId</a> metadataId) const </td></tr>
<tr class="memdesc:aa50060fa3ee369575b26468021858586"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the access mode, i.e., the metadata functions, which this image supports for the metadata type <em>metadataId</em>.  <a href="#aa50060fa3ee369575b26468021858586">More...</a><br /></td></tr>
<tr class="separator:aa50060fa3ee369575b26468021858586"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6faaacb514314528d2a3884a40e6ecc1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6faaacb514314528d2a3884a40e6ecc1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a6faaacb514314528d2a3884a40e6ecc1">supportsMetadata</a> (<a class="el" href="namespaceExiv2.html#acca494c8cf80f3ac8a804e1b54afffca">MetadataId</a> metadataId) const </td></tr>
<tr class="memdesc:a6faaacb514314528d2a3884a40e6ecc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if image supports a particular type of metadata. This method is deprecated. Use <a class="el" href="classExiv2_1_1Image.html#aa50060fa3ee369575b26468021858586" title="Returns the access mode, i.e., the metadata functions, which this image supports for the metadata typ...">checkMode()</a> instead. <br /></td></tr>
<tr class="separator:a6faaacb514314528d2a3884a40e6ecc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad556f9ffa960f88d80b53cba3421af21"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad556f9ffa960f88d80b53cba3421af21"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#ad556f9ffa960f88d80b53cba3421af21">writeXmpFromPacket</a> () const </td></tr>
<tr class="memdesc:ad556f9ffa960f88d80b53cba3421af21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the flag indicating the source when writing XMP metadata. <br /></td></tr>
<tr class="separator:ad556f9ffa960f88d80b53cba3421af21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ed3ba4bba3428938d35cbc079b902db"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ed3ba4bba3428938d35cbc079b902db"></a>
const <a class="el" href="namespaceExiv2.html#af72182be3e51f30ef8cb55a86dfa8e67">NativePreviewList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a0ed3ba4bba3428938d35cbc079b902db">nativePreviews</a> () const </td></tr>
<tr class="memdesc:a0ed3ba4bba3428938d35cbc079b902db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return 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:a0ed3ba4bba3428938d35cbc079b902db"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a441d551a7d353e6f440748a486e004e5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a441d551a7d353e6f440748a486e004e5"></a>
<a class="el" href="classExiv2_1_1BasicIo.html#af8f989522925b884d8c9d3a257265fa1">BasicIo::AutoPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a441d551a7d353e6f440748a486e004e5">io_</a></td></tr>
<tr class="memdesc:a441d551a7d353e6f440748a486e004e5"><td class="mdescLeft">&#160;</td><td class="mdescRight"><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> data IO pointer. <br /></td></tr>
<tr class="separator:a441d551a7d353e6f440748a486e004e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1a8a72f1faf1b49a980a5050be8f8df"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa1a8a72f1faf1b49a980a5050be8f8df"></a>
<a class="el" href="classExiv2_1_1ExifData.html">ExifData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#aa1a8a72f1faf1b49a980a5050be8f8df">exifData_</a></td></tr>
<tr class="memdesc:aa1a8a72f1faf1b49a980a5050be8f8df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Exif data container. <br /></td></tr>
<tr class="separator:aa1a8a72f1faf1b49a980a5050be8f8df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac613777e529af8d8c421cf0138234d6f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac613777e529af8d8c421cf0138234d6f"></a>
<a class="el" href="classExiv2_1_1IptcData.html">IptcData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#ac613777e529af8d8c421cf0138234d6f">iptcData_</a></td></tr>
<tr class="memdesc:ac613777e529af8d8c421cf0138234d6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">IPTC data container. <br /></td></tr>
<tr class="separator:ac613777e529af8d8c421cf0138234d6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd748b186fc5d731e7943ab38b718168"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd748b186fc5d731e7943ab38b718168"></a>
<a class="el" href="classExiv2_1_1XmpData.html">XmpData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#afd748b186fc5d731e7943ab38b718168">xmpData_</a></td></tr>
<tr class="memdesc:afd748b186fc5d731e7943ab38b718168"><td class="mdescLeft">&#160;</td><td class="mdescRight">XMP data container. <br /></td></tr>
<tr class="separator:afd748b186fc5d731e7943ab38b718168"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad908536e7406677e193f6fa75e53d3ae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad908536e7406677e193f6fa75e53d3ae"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#ad908536e7406677e193f6fa75e53d3ae">comment_</a></td></tr>
<tr class="memdesc:ad908536e7406677e193f6fa75e53d3ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">User comment. <br /></td></tr>
<tr class="separator:ad908536e7406677e193f6fa75e53d3ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab62dc4efdf1c3ffe94443588e7d7b15b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab62dc4efdf1c3ffe94443588e7d7b15b"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#ab62dc4efdf1c3ffe94443588e7d7b15b">xmpPacket_</a></td></tr>
<tr class="memdesc:ab62dc4efdf1c3ffe94443588e7d7b15b"><td class="mdescLeft">&#160;</td><td class="mdescRight">XMP packet. <br /></td></tr>
<tr class="separator:ab62dc4efdf1c3ffe94443588e7d7b15b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a114180b5449669339b0cbe3f4078a915"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a114180b5449669339b0cbe3f4078a915"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a114180b5449669339b0cbe3f4078a915">pixelWidth_</a></td></tr>
<tr class="memdesc:a114180b5449669339b0cbe3f4078a915"><td class="mdescLeft">&#160;</td><td class="mdescRight">image pixel width <br /></td></tr>
<tr class="separator:a114180b5449669339b0cbe3f4078a915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a093efd59b753173a50a5c3a2ab881878"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a093efd59b753173a50a5c3a2ab881878"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a093efd59b753173a50a5c3a2ab881878">pixelHeight_</a></td></tr>
<tr class="memdesc:a093efd59b753173a50a5c3a2ab881878"><td class="mdescLeft">&#160;</td><td class="mdescRight">image pixel height <br /></td></tr>
<tr class="separator:a093efd59b753173a50a5c3a2ab881878"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fe1e6f41e5e2e99ce1560f0b5ad36b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7fe1e6f41e5e2e99ce1560f0b5ad36b9"></a>
<a class="el" href="namespaceExiv2.html#af72182be3e51f30ef8cb55a86dfa8e67">NativePreviewList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Image.html#a7fe1e6f41e5e2e99ce1560f0b5ad36b9">nativePreviews_</a></td></tr>
<tr class="memdesc:a7fe1e6f41e5e2e99ce1560f0b5ad36b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">list of native previews <br /></td></tr>
<tr class="separator:a7fe1e6f41e5e2e99ce1560f0b5ad36b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>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. </p>
<p><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> has containers to store image metadata and subclasses implement read and save metadata from and to specific image formats.<br />
 Most client apps will obtain 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 by calling a static <a class="el" href="classExiv2_1_1ImageFactory.html" title="Returns an Image instance of the specified type. ">ImageFactory</a> method. The <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> class can then be used to to read, write, and save metadata. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa50060fa3ee369575b26468021858586"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceExiv2.html#af5f0ea6c944c786f7c4c4841fa22b16c">AccessMode</a> Exiv2::Image::checkMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceExiv2.html#acca494c8cf80f3ac8a804e1b54afffca">MetadataId</a>&#160;</td>
          <td class="paramname"><em>metadataId</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the access mode, i.e., the metadata functions, which this image supports for the metadata type <em>metadataId</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">metadataId</td><td>The metadata identifier. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Access mode for the requested image type and metadata identifier. </dd></dl>

<p>References <a class="el" href="classExiv2_1_1ImageFactory.html#a2953661dfbe37cf916e4fdeb5ef5c519">Exiv2::ImageFactory::checkMode()</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Image.html#a5374f217a84fadfe4ba97bebf00ae2b3">setMetadata()</a>.</p>

</div>
</div>
<a class="anchor" id="a910871299f87e8c075e5c977a37dd943"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Image::clearXmpData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Erase any buffered XMP data. XMP data is not removed from the actual image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. </p>
<p>This has the same effect as <a class="el" href="classExiv2_1_1Image.html#a797b7909cb55019289f5f1a7fa9086cc" title="Erase the buffered XMP packet. XMP data is not removed from the actual image until the writeMetadata(...">clearXmpPacket()</a> but operates on the buffered parsed XMP data.</p>
<p>Subsequent calls to <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> encode the XMP data to a raw XMP packet and write the newly encoded packet to the image. In the process, the buffered raw XMP packet is updated. In order to write directly from the raw XMP packet, use writeXmpFromPacket(true) or <a class="el" href="classExiv2_1_1Image.html#a8c6aff4701c23158c2d79598c26c18ad" title="Assign a raw XMP packet. The new XMP packet is not written to the image until the writeMetadata() met...">setXmpPacket()</a>. </p>

<p>References <a class="el" href="classExiv2_1_1XmpData.html#ab7e69abc3ee547aacb45893aa8d83051">Exiv2::XmpData::clear()</a>, <a class="el" href="classExiv2_1_1Image.html#ad556f9ffa960f88d80b53cba3421af21">writeXmpFromPacket()</a>, and <a class="el" href="classExiv2_1_1Image.html#afd748b186fc5d731e7943ab38b718168">xmpData_</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Image.html#afd9153e3fc83f31b4d63b56d530688cd">clearMetadata()</a>, and <a class="el" href="classAction_1_1Erase.html#ab83281ed24381883a4a1271205308bd9">Action::Erase::eraseXmpData()</a>.</p>

</div>
</div>
<a class="anchor" id="a797b7909cb55019289f5f1a7fa9086cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Image::clearXmpPacket </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Erase the buffered XMP packet. XMP data is not removed from the actual image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. </p>
<p>This has the same effect as <a class="el" href="classExiv2_1_1Image.html#a910871299f87e8c075e5c977a37dd943" title="Erase any buffered XMP data. XMP data is not removed from the actual image until the writeMetadata() ...">clearXmpData()</a> but operates on the buffered raw XMP packet only, not the parsed XMP data.</p>
<p>Subsequent calls to <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> write the XMP packet from the buffered raw XMP packet rather than from buffered parsed XMP data. In order to write from parsed XMP data again, use either writeXmpFromPacket(false) or <a class="el" href="classExiv2_1_1Image.html#a5fff5a898432265e656457ac8f7f666b" title="Assign new XMP data. The new XMP data is not written to the image until the writeMetadata() method is...">setXmpData()</a>. </p>

<p>References <a class="el" href="classExiv2_1_1Image.html#ad556f9ffa960f88d80b53cba3421af21">writeXmpFromPacket()</a>, and <a class="el" href="classExiv2_1_1Image.html#ab62dc4efdf1c3ffe94443588e7d7b15b">xmpPacket_</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Image.html#afd9153e3fc83f31b4d63b56d530688cd">clearMetadata()</a>, and <a class="el" href="classAction_1_1Erase.html#ab83281ed24381883a4a1271205308bd9">Action::Erase::eraseXmpData()</a>.</p>

</div>
</div>
<a class="anchor" id="acc0dd47f87be88458e1c6e18b463a536"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classExiv2_1_1ExifData.html">ExifData</a> &amp; Exiv2::Image::exifData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an <a class="el" href="classExiv2_1_1ExifData.html" title="A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...">ExifData</a> instance containing currently buffered Exif data. </p>
<p>The contained Exif data may have been read from the image by a previous call to <a class="el" href="classExiv2_1_1Image.html#a198b8d5924d6441748aa162130c96a5f" title="Read all metadata supported by a specific image format from the image. Before this method is called...">readMetadata()</a> or added directly. The Exif data in the returned instance will be written to the image when <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> is called.</p>
<dl class="section return"><dt>Returns</dt><dd>modifiable <a class="el" href="classExiv2_1_1ExifData.html" title="A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...">ExifData</a> instance containing Exif values </dd></dl>

<p>References <a class="el" href="classExiv2_1_1Image.html#aa1a8a72f1faf1b49a980a5050be8f8df">exifData_</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1CrwParser.html#a80a0861a3c37e739ef144d425f439079">Exiv2::CrwParser::decode()</a>, <a class="el" href="classAction_1_1Erase.html#ad696d6e91fd37e0c61587bdadac36a54">Action::Erase::eraseExifData()</a>, <a class="el" href="classAction_1_1Erase.html#aea43759f2a2ee86b40380834ba34d6fe">Action::Erase::eraseThumbnail()</a>, <a class="el" href="classAction_1_1Print.html#a528fc356b80db091148be4727b28a4a5">Action::Print::printMetadata()</a>, <a class="el" href="classAction_1_1Print.html#ae2cd7252a98bc92ba6dbaa17c2955e8f">Action::Print::printMetadatum()</a>, <a class="el" href="classExiv2_1_1Rw2Image.html#a207a0726d40c8aa9456bb39ab13fd435">Exiv2::Rw2Image::readMetadata()</a>, <a class="el" href="classExiv2_1_1Jp2Image.html#a4bf3d9ed94a4be4e5d931a812c6d58bf">Exiv2::Jp2Image::readMetadata()</a>, <a class="el" href="classExiv2_1_1PgfImage.html#a5af0948267616b7954d5f95c84441e82">Exiv2::PgfImage::readMetadata()</a>, <a class="el" href="classExiv2_1_1Image.html#a50787e6b2b88ab4844ed09a6d32d91cd">setExifData()</a>, and <a class="el" href="classExiv2_1_1Image.html#a5374f217a84fadfe4ba97bebf00ae2b3">setMetadata()</a>.</p>

</div>
</div>
<a class="anchor" id="a7a554e1ca9eefe79b7aed83c3ac6c52f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classExiv2_1_1ExifData.html">ExifData</a> &amp; Exiv2::Image::exifData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an <a class="el" href="classExiv2_1_1ExifData.html" title="A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...">ExifData</a> instance containing currently buffered Exif data. </p>
<p>The Exif data may have been read from the image by a previous call to <a class="el" href="classExiv2_1_1Image.html#a198b8d5924d6441748aa162130c96a5f" title="Read all metadata supported by a specific image format from the image. Before this method is called...">readMetadata()</a> or added directly. The Exif data in the returned instance will be written to the image when <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> is called.</p>
<dl class="section return"><dt>Returns</dt><dd>read only <a class="el" href="classExiv2_1_1ExifData.html" title="A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...">ExifData</a> instance containing Exif values </dd></dl>

<p>References <a class="el" href="classExiv2_1_1Image.html#aa1a8a72f1faf1b49a980a5050be8f8df">exifData_</a>.</p>

</div>
</div>
<a class="anchor" id="a057cb663d5666ca5c0515a3957d15102"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Exiv2::Image::good </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check if the <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 is valid. Use after object construction. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the <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> is in a valid state. </dd></dl>

<p>References <a class="el" href="classExiv2_1_1ImageFactory.html#af9aa6dad41f17eb012d8d18e291d19f9">Exiv2::ImageFactory::checkType()</a>, and <a class="el" href="classExiv2_1_1Image.html#a441d551a7d353e6f440748a486e004e5">io_</a>.</p>

</div>
</div>
<a class="anchor" id="aefb1351187c3d68cb2f6e45d575ef59d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> &amp; Exiv2::Image::io </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return a reference to the <a class="el" href="classExiv2_1_1BasicIo.html" title="An interface for simple binary IO. ">BasicIo</a> instance being used for Io. </p>
<p>This refence is particularly useful to reading the results of operations on a <a class="el" href="classExiv2_1_1MemIo.html" title="Provides binary IO on blocks of memory by implementing the BasicIo interface. A copy-on-write impleme...">MemIo</a> instance. For example after metadata has been modified and the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method has been called, this method can be used to get access to the modified image.</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classExiv2_1_1BasicIo.html" title="An interface for simple binary IO. ">BasicIo</a> instance that can be used to read or write image data directly. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>If the returned <a class="el" href="classExiv2_1_1BasicIo.html" title="An interface for simple binary IO. ">BasicIo</a> is used to write to the image, the <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> class will not see those changes until the <a class="el" href="classExiv2_1_1Image.html#a198b8d5924d6441748aa162130c96a5f" title="Read all metadata supported by a specific image format from the image. Before this method is called...">readMetadata()</a> method is called. </dd></dl>

<p>References <a class="el" href="classExiv2_1_1Image.html#a441d551a7d353e6f440748a486e004e5">io_</a>.</p>

</div>
</div>
<a class="anchor" id="ac68e4cb2fc5eb685a56ea06333fe0e4f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classExiv2_1_1IptcData.html">IptcData</a> &amp; Exiv2::Image::iptcData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an <a class="el" href="classExiv2_1_1IptcData.html" title="A container for IPTC data. This is a top-level class of the Exiv2 library. ">IptcData</a> instance containing currently buffered IPTC data. </p>
<p>The contained IPTC data may have been read from the image by a previous call to <a class="el" href="classExiv2_1_1Image.html#a198b8d5924d6441748aa162130c96a5f" title="Read all metadata supported by a specific image format from the image. Before this method is called...">readMetadata()</a> or added directly. The IPTC data in the returned instance will be written to the image when <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> is called.</p>
<dl class="section return"><dt>Returns</dt><dd>modifiable <a class="el" href="classExiv2_1_1IptcData.html" title="A container for IPTC data. This is a top-level class of the Exiv2 library. ">IptcData</a> instance containing IPTC values </dd></dl>

<p>References <a class="el" href="classExiv2_1_1Image.html#ac613777e529af8d8c421cf0138234d6f">iptcData_</a>.</p>

<p>Referenced by <a class="el" href="classAction_1_1Erase.html#a7c2736fc319852955f44ae64ca84ec63">Action::Erase::eraseIptcData()</a>, <a class="el" href="classAction_1_1Print.html#a528fc356b80db091148be4727b28a4a5">Action::Print::printMetadata()</a>, <a class="el" href="classExiv2_1_1Jp2Image.html#a4bf3d9ed94a4be4e5d931a812c6d58bf">Exiv2::Jp2Image::readMetadata()</a>, <a class="el" href="classExiv2_1_1PgfImage.html#a5af0948267616b7954d5f95c84441e82">Exiv2::PgfImage::readMetadata()</a>, <a class="el" href="classExiv2_1_1Image.html#a19bfac3c9245ca5c4c471e241bd33606">setIptcData()</a>, <a class="el" href="classExiv2_1_1Image.html#a5374f217a84fadfe4ba97bebf00ae2b3">setMetadata()</a>, and <a class="el" href="classExiv2_1_1RiffVideo.html#add09f7bda28b9e7db72d8f2cace7c00a">Exiv2::RiffVideo::streamDataTagHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ae27538d548dfd0a06dd6b316bbd16c50"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classExiv2_1_1IptcData.html">IptcData</a> &amp; Exiv2::Image::iptcData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an <a class="el" href="classExiv2_1_1IptcData.html" title="A container for IPTC data. This is a top-level class of the Exiv2 library. ">IptcData</a> instance containing currently buffered IPTC data. </p>
<p>The contained IPTC data may have been read from the image by a previous call to <a class="el" href="classExiv2_1_1Image.html#a198b8d5924d6441748aa162130c96a5f" title="Read all metadata supported by a specific image format from the image. Before this method is called...">readMetadata()</a> or added directly. The IPTC data in the returned instance will be written to the image when <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> is called.</p>
<dl class="section return"><dt>Returns</dt><dd>modifiable <a class="el" href="classExiv2_1_1IptcData.html" title="A container for IPTC data. This is a top-level class of the Exiv2 library. ">IptcData</a> instance containing IPTC values </dd></dl>

<p>References <a class="el" href="classExiv2_1_1Image.html#ac613777e529af8d8c421cf0138234d6f">iptcData_</a>.</p>

</div>
</div>
<a class="anchor" id="a5c517b500586613595e2e1b62601657a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::string Exiv2::Image::mimeType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the MIME type of the image. </p>
<dl class="section note"><dt>Note</dt><dd>For each supported image format, the library knows only one MIME type. This may not be the most specific MIME type for that format. In particular, several RAW formats are variants of the TIFF format with the same magic as TIFF itself. Class <a class="el" href="classExiv2_1_1TiffImage.html" title="Class to access TIFF images. Exif metadata is supported directly, IPTC is read from the Exif data...">TiffImage</a> handles most of them and thus they all have MIME type "image/tiff", although a more specific MIME type may exist (e.g., "image/x-nikon-nef"). </dd></dl>

<p>Implemented in <a class="el" href="classExiv2_1_1ExvImage.html#ad8487cabb12622b8c44257c64697f6aa">Exiv2::ExvImage</a>, <a class="el" href="classExiv2_1_1JpegImage.html#a2613112f484b6bd091d599991c38aeef">Exiv2::JpegImage</a>, <a class="el" href="classExiv2_1_1TgaImage.html#a0992bda8dbe84c0801bdaebc693d8558">Exiv2::TgaImage</a>, <a class="el" href="classExiv2_1_1GifImage.html#a3d92f84493fb88a679fdac9a17fb4dfd">Exiv2::GifImage</a>, <a class="el" href="classExiv2_1_1BmpImage.html#a3690a8ff1aa1bf27da8beef16cfcc9e0">Exiv2::BmpImage</a>, <a class="el" href="classExiv2_1_1PsdImage.html#a1d3d1edde46a6b9e60a660624d096abb">Exiv2::PsdImage</a>, <a class="el" href="classExiv2_1_1MrwImage.html#a411bd0cf7504ad7582021942de5c4dd1">Exiv2::MrwImage</a>, <a class="el" href="classExiv2_1_1RafImage.html#af8fdbff12c99b3bfac10d29f24931300">Exiv2::RafImage</a>, <a class="el" href="classExiv2_1_1Rw2Image.html#a8711f4d5c7904e476fc6ac5adcc7d1ed">Exiv2::Rw2Image</a>, <a class="el" href="classExiv2_1_1CrwImage.html#a7d6c701c0b6049916455a4136510cd62">Exiv2::CrwImage</a>, <a class="el" href="classExiv2_1_1TiffImage.html#ac756bdc09ffb0ab6acf005058b2ac032">Exiv2::TiffImage</a>, <a class="el" href="classExiv2_1_1EpsImage.html#a34c29b1779e4d346067aa0b4dcc88076">Exiv2::EpsImage</a>, <a class="el" href="classExiv2_1_1Jp2Image.html#a42d834b31a1760cd045a6f63ad3d0523">Exiv2::Jp2Image</a>, <a class="el" href="classExiv2_1_1PngImage.html#a82339d89ca695c24e2491e0d084bd03f">Exiv2::PngImage</a>, <a class="el" href="classExiv2_1_1Cr2Image.html#a0923aeaf91a8a378ce2fb5b073c2daf9">Exiv2::Cr2Image</a>, <a class="el" href="classExiv2_1_1OrfImage.html#a29799aa9f63196f12138f819f04e3534">Exiv2::OrfImage</a>, <a class="el" href="classExiv2_1_1PgfImage.html#a2f1d030a499e4cbab5ff5ba1590a40f9">Exiv2::PgfImage</a>, <a class="el" href="classExiv2_1_1MatroskaVideo.html#a536d8f130e27056efc3d90655c425963">Exiv2::MatroskaVideo</a>, <a class="el" href="classExiv2_1_1XmpSidecar.html#a8e8b416654a71a2165e0cf74c3232aee">Exiv2::XmpSidecar</a>, <a class="el" href="classExiv2_1_1AsfVideo.html#aedc684c1044d5038d08fbdbd767cec94">Exiv2::AsfVideo</a>, <a class="el" href="classExiv2_1_1QuickTimeVideo.html#a11624b26611ad8b17ba9eacd4a2a8683">Exiv2::QuickTimeVideo</a>, and <a class="el" href="classExiv2_1_1RiffVideo.html#a20fd8d4b8acce7c32ed3946eaad73459">Exiv2::RiffVideo</a>.</p>

</div>
</div>
<a class="anchor" id="a198b8d5924d6441748aa162130c96a5f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Exiv2::Image::readMetadata </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Read all metadata supported by a specific image format from the image. Before this method is called, the image metadata will be cleared. </p>
<p>This method returns success even if no metadata is found in the image. Callers must therefore check the size of individual metadata types before accessing the data.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Error</td><td>if opening or reading of the file fails or the image data is not valid (does not look like data of the specific image type). </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classExiv2_1_1JpegBase.html#ad6e281a6e5e863c93fbb123f0b38bc4c">Exiv2::JpegBase</a>, <a class="el" href="classExiv2_1_1CrwImage.html#a9757cfb64310acf700d51c77ac4d55b5">Exiv2::CrwImage</a>, <a class="el" href="classExiv2_1_1PsdImage.html#ae9bb61fa8016a76aa01718990c52dd3f">Exiv2::PsdImage</a>, <a class="el" href="classExiv2_1_1TgaImage.html#acd57243b467e0f21fa52214bf2831552">Exiv2::TgaImage</a>, <a class="el" href="classExiv2_1_1GifImage.html#a6ce1509b24dfed94bede077e328a315a">Exiv2::GifImage</a>, <a class="el" href="classExiv2_1_1BmpImage.html#af325637dd954988bdd0812705b03ee91">Exiv2::BmpImage</a>, <a class="el" href="classExiv2_1_1PngImage.html#a2a0f0ed945a729104c01a851094150e7">Exiv2::PngImage</a>, <a class="el" href="classExiv2_1_1TiffImage.html#ac0965fb8aea437062775da11bece20ff">Exiv2::TiffImage</a>, <a class="el" href="classExiv2_1_1EpsImage.html#a18a8c0284898635b301e63d8a14effc5">Exiv2::EpsImage</a>, <a class="el" href="classExiv2_1_1PgfImage.html#a5af0948267616b7954d5f95c84441e82">Exiv2::PgfImage</a>, <a class="el" href="classExiv2_1_1Jp2Image.html#a4bf3d9ed94a4be4e5d931a812c6d58bf">Exiv2::Jp2Image</a>, <a class="el" href="classExiv2_1_1MatroskaVideo.html#ac5f3d04f8243b8f6c15b37d503210694">Exiv2::MatroskaVideo</a>, <a class="el" href="classExiv2_1_1MrwImage.html#af57371ca9869cd8c5a009afcd0d62e2a">Exiv2::MrwImage</a>, <a class="el" href="classExiv2_1_1Cr2Image.html#a9ac07ec115329228cf1eb2afe622feb0">Exiv2::Cr2Image</a>, <a class="el" href="classExiv2_1_1OrfImage.html#a52b0c6a1661b2d68e2432268735ac563">Exiv2::OrfImage</a>, <a class="el" href="classExiv2_1_1RafImage.html#a53a5fa808a06b133f72cf6ccdacebc76">Exiv2::RafImage</a>, <a class="el" href="classExiv2_1_1Rw2Image.html#a207a0726d40c8aa9456bb39ab13fd435">Exiv2::Rw2Image</a>, <a class="el" href="classExiv2_1_1XmpSidecar.html#afaacbbda6639f45f89d967f2c3bcc76c">Exiv2::XmpSidecar</a>, <a class="el" href="classExiv2_1_1AsfVideo.html#a6b1f9bd6dc65f99edd2595bccf87e90e">Exiv2::AsfVideo</a>, <a class="el" href="classExiv2_1_1QuickTimeVideo.html#aa0191ddc065a76551537efa4755c4a57">Exiv2::QuickTimeVideo</a>, and <a class="el" href="classExiv2_1_1RiffVideo.html#a95289b6b1f94b621a1254eb2dd8d23dc">Exiv2::RiffVideo</a>.</p>

</div>
</div>
<a class="anchor" id="af1533e0b8d24c49974d0dc59911c330a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Image::setByteOrder </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceExiv2.html#a94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&#160;</td>
          <td class="paramname"><em>byteOrder</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the byte order to encode the Exif metadata in. </p>
<p>The setting is only used when new Exif metadata is created and may not be applicable at all for some image formats. If the target image already contains Exif metadata, the byte order of the existing data is used. If byte order is not set when <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> is called, little-endian byte order (II) is used by default. </p>

<p>References <a class="el" href="classExiv2_1_1Image.html#a4d616c94b3d8129a3abcbec2c200feda">byteOrder()</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Rw2Image.html#a207a0726d40c8aa9456bb39ab13fd435">Exiv2::Rw2Image::readMetadata()</a>, <a class="el" href="classExiv2_1_1Cr2Image.html#a9ac07ec115329228cf1eb2afe622feb0">Exiv2::Cr2Image::readMetadata()</a>, <a class="el" href="classExiv2_1_1RafImage.html#a53a5fa808a06b133f72cf6ccdacebc76">Exiv2::RafImage::readMetadata()</a>, <a class="el" href="classExiv2_1_1OrfImage.html#a52b0c6a1661b2d68e2432268735ac563">Exiv2::OrfImage::readMetadata()</a>, <a class="el" href="classExiv2_1_1MrwImage.html#af57371ca9869cd8c5a009afcd0d62e2a">Exiv2::MrwImage::readMetadata()</a>, <a class="el" href="classExiv2_1_1Jp2Image.html#a4bf3d9ed94a4be4e5d931a812c6d58bf">Exiv2::Jp2Image::readMetadata()</a>, <a class="el" href="classExiv2_1_1TiffImage.html#ac0965fb8aea437062775da11bece20ff">Exiv2::TiffImage::readMetadata()</a>, <a class="el" href="classExiv2_1_1JpegBase.html#ad6e281a6e5e863c93fbb123f0b38bc4c">Exiv2::JpegBase::readMetadata()</a>, <a class="el" href="classExiv2_1_1Cr2Image.html#a02e43bd63c2b10ce1ee190396d71a1b2">Exiv2::Cr2Image::writeMetadata()</a>, <a class="el" href="classExiv2_1_1OrfImage.html#acfbb361e4af39171546fb1491a6df085">Exiv2::OrfImage::writeMetadata()</a>, and <a class="el" href="classExiv2_1_1TiffImage.html#ab4d6dcbd915abe2254bfef751a3f1da7">Exiv2::TiffImage::writeMetadata()</a>.</p>

</div>
</div>
<a class="anchor" id="af3c4746e941aa39bb7762b7b7da108a8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Image::setComment </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>comment</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the image comment. The new comment is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">comment</td><td>String containing comment. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classExiv2_1_1TgaImage.html#abce4a71d8f652c89a1645f6e63720cb5">Exiv2::TgaImage</a>, <a class="el" href="classExiv2_1_1GifImage.html#a4cd492b4d311bfc6ba202c56599dfedf">Exiv2::GifImage</a>, <a class="el" href="classExiv2_1_1BmpImage.html#a0d9e544f1a384228c3ef26f83eb0aaad">Exiv2::BmpImage</a>, <a class="el" href="classExiv2_1_1MrwImage.html#a034a0e0e888474dfa8cd6a24a0e73d19">Exiv2::MrwImage</a>, <a class="el" href="classExiv2_1_1RafImage.html#a86777f8cdd42ae89677e13561e48a9f6">Exiv2::RafImage</a>, <a class="el" href="classExiv2_1_1Rw2Image.html#a4e4694f9b04d86482607e4df7d6769f5">Exiv2::Rw2Image</a>, <a class="el" href="classExiv2_1_1PsdImage.html#a05f5b0a54a0acf646da8cb08195757b3">Exiv2::PsdImage</a>, <a class="el" href="classExiv2_1_1TiffImage.html#ac204968b22d3098c974551e0d2067650">Exiv2::TiffImage</a>, <a class="el" href="classExiv2_1_1EpsImage.html#afabaf3de204925f341394134d38a66b0">Exiv2::EpsImage</a>, <a class="el" href="classExiv2_1_1Jp2Image.html#a2209338ee4a18a815ac95115a5eecaf5">Exiv2::Jp2Image</a>, <a class="el" href="classExiv2_1_1Cr2Image.html#ac76dc2d010d3dbb16b7bc3327d60fb03">Exiv2::Cr2Image</a>, <a class="el" href="classExiv2_1_1OrfImage.html#a1a2baa722020f3c5a6472c1f95bda4f6">Exiv2::OrfImage</a>, and <a class="el" href="classExiv2_1_1XmpSidecar.html#a500e5d1a2a314d1613bcd5244eb7c728">Exiv2::XmpSidecar</a>.</p>

<p>References <a class="el" href="classExiv2_1_1Image.html#aab844df269923ff5ea2b0b5e55e1ea2f">comment()</a>, and <a class="el" href="classExiv2_1_1Image.html#ad908536e7406677e193f6fa75e53d3ae">comment_</a>.</p>

<p>Referenced by <a class="el" href="classAction_1_1Modify.html#a22b402e08bcacfc056faa680e0bfc9df">Action::Modify::applyCommands()</a>, and <a class="el" href="classExiv2_1_1Image.html#a5374f217a84fadfe4ba97bebf00ae2b3">setMetadata()</a>.</p>

</div>
</div>
<a class="anchor" id="a50787e6b2b88ab4844ed09a6d32d91cd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Image::setExifData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1ExifData.html">ExifData</a> &amp;&#160;</td>
          <td class="paramname"><em>exifData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assign new Exif data. The new Exif data is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">exifData</td><td>An <a class="el" href="classExiv2_1_1ExifData.html" title="A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...">ExifData</a> instance holding Exif data to be copied </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classExiv2_1_1TgaImage.html#af8a076bffc4451c69f4836cd846a07c6">Exiv2::TgaImage</a>, <a class="el" href="classExiv2_1_1GifImage.html#ae98b140069acda271a7a3e0cbef6c640">Exiv2::GifImage</a>, <a class="el" href="classExiv2_1_1BmpImage.html#a5d730de9ba18015824a327a93760a83b">Exiv2::BmpImage</a>, <a class="el" href="classExiv2_1_1MrwImage.html#a8ec357197271583008b7a207651eb6fd">Exiv2::MrwImage</a>, <a class="el" href="classExiv2_1_1RafImage.html#a0dc6b6ba3c57272e8d8abdad2741e1c9">Exiv2::RafImage</a>, and <a class="el" href="classExiv2_1_1Rw2Image.html#a2c99da5914c50a9fd40e21ff1f3da392">Exiv2::Rw2Image</a>.</p>

<p>References <a class="el" href="classExiv2_1_1Image.html#acc0dd47f87be88458e1c6e18b463a536">exifData()</a>, and <a class="el" href="classExiv2_1_1Image.html#aa1a8a72f1faf1b49a980a5050be8f8df">exifData_</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Image.html#a5374f217a84fadfe4ba97bebf00ae2b3">setMetadata()</a>.</p>

</div>
</div>
<a class="anchor" id="a19bfac3c9245ca5c4c471e241bd33606"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Image::setIptcData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1IptcData.html">IptcData</a> &amp;&#160;</td>
          <td class="paramname"><em>iptcData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assign new IPTC data. The new IPTC data is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">iptcData</td><td>An <a class="el" href="classExiv2_1_1IptcData.html" title="A container for IPTC data. This is a top-level class of the Exiv2 library. ">IptcData</a> instance holding IPTC data to be copied </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classExiv2_1_1TgaImage.html#ad8a17682396f8d0e6f55ab8dbfed6c47">Exiv2::TgaImage</a>, <a class="el" href="classExiv2_1_1GifImage.html#aa9b15e6dca4e2b26d33c0aaeb587ab0b">Exiv2::GifImage</a>, <a class="el" href="classExiv2_1_1BmpImage.html#a2e43c241337615a097316f3723dc772d">Exiv2::BmpImage</a>, <a class="el" href="classExiv2_1_1MrwImage.html#ab0c4bce2836217c490c7deda5c114925">Exiv2::MrwImage</a>, <a class="el" href="classExiv2_1_1RafImage.html#ad95a749faed5962eccb5ca46ccf059d7">Exiv2::RafImage</a>, <a class="el" href="classExiv2_1_1CrwImage.html#aaadb20df06a2832e73d75e240f6c2c64">Exiv2::CrwImage</a>, and <a class="el" href="classExiv2_1_1Rw2Image.html#a7c815fe540dac720e784a215d480415b">Exiv2::Rw2Image</a>.</p>

<p>References <a class="el" href="classExiv2_1_1Image.html#ac68e4cb2fc5eb685a56ea06333fe0e4f">iptcData()</a>, and <a class="el" href="classExiv2_1_1Image.html#ac613777e529af8d8c421cf0138234d6f">iptcData_</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Image.html#a5374f217a84fadfe4ba97bebf00ae2b3">setMetadata()</a>.</p>

</div>
</div>
<a class="anchor" id="a5374f217a84fadfe4ba97bebf00ae2b3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Image::setMetadata </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1Image.html">Image</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy all existing metadata from source <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>. The data is copied into internal buffers and is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>Metadata source. All metadata types are copied. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="classExiv2_1_1Image.html#aa50060fa3ee369575b26468021858586">checkMode()</a>, <a class="el" href="classExiv2_1_1Image.html#aab844df269923ff5ea2b0b5e55e1ea2f">comment()</a>, <a class="el" href="classExiv2_1_1Image.html#acc0dd47f87be88458e1c6e18b463a536">exifData()</a>, <a class="el" href="classExiv2_1_1Image.html#ac68e4cb2fc5eb685a56ea06333fe0e4f">iptcData()</a>, <a class="el" href="classExiv2_1_1Image.html#af3c4746e941aa39bb7762b7b7da108a8">setComment()</a>, <a class="el" href="classExiv2_1_1Image.html#a50787e6b2b88ab4844ed09a6d32d91cd">setExifData()</a>, <a class="el" href="classExiv2_1_1Image.html#a19bfac3c9245ca5c4c471e241bd33606">setIptcData()</a>, <a class="el" href="classExiv2_1_1Image.html#a5fff5a898432265e656457ac8f7f666b">setXmpData()</a>, <a class="el" href="classExiv2_1_1Image.html#a8c6aff4701c23158c2d79598c26c18ad">setXmpPacket()</a>, <a class="el" href="classExiv2_1_1Image.html#aade24695d8ac332f0402dcb10d601382">xmpData()</a>, and <a class="el" href="classExiv2_1_1Image.html#a356eca19190afb6c6cc2fa02aa936cdd">xmpPacket()</a>.</p>

</div>
</div>
<a class="anchor" id="a5fff5a898432265e656457ac8f7f666b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Image::setXmpData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1XmpData.html">XmpData</a> &amp;&#160;</td>
          <td class="paramname"><em>xmpData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assign new XMP data. The new XMP data is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. </p>
<p>Subsequent calls to <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> encode the XMP data to a raw XMP packet and write the newly encoded packet to the image. In the process, the buffered raw XMP packet is updated. In order to write directly from the raw XMP packet, use writeXmpFromPacket(true) or <a class="el" href="classExiv2_1_1Image.html#a8c6aff4701c23158c2d79598c26c18ad" title="Assign a raw XMP packet. The new XMP packet is not written to the image until the writeMetadata() met...">setXmpPacket()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xmpData</td><td>An <a class="el" href="classExiv2_1_1XmpData.html" title="A container for XMP data. This is a top-level class of the Exiv2 library. ">XmpData</a> instance holding XMP data to be copied </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="classExiv2_1_1Image.html#ad556f9ffa960f88d80b53cba3421af21">writeXmpFromPacket()</a>, <a class="el" href="classExiv2_1_1Image.html#aade24695d8ac332f0402dcb10d601382">xmpData()</a>, and <a class="el" href="classExiv2_1_1Image.html#afd748b186fc5d731e7943ab38b718168">xmpData_</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Image.html#a5374f217a84fadfe4ba97bebf00ae2b3">setMetadata()</a>.</p>

</div>
</div>
<a class="anchor" id="a8c6aff4701c23158c2d79598c26c18ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Image::setXmpPacket </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>xmpPacket</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assign a raw XMP packet. The new XMP packet is not written to the image until the <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> method is called. </p>
<p>Subsequent calls to <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> write the XMP packet from the buffered raw XMP packet rather than from buffered parsed XMP data. In order to write from parsed XMP data again, use either writeXmpFromPacket(false) or <a class="el" href="classExiv2_1_1Image.html#a5fff5a898432265e656457ac8f7f666b" title="Assign new XMP data. The new XMP data is not written to the image until the writeMetadata() method is...">setXmpData()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xmpPacket</td><td>A string containing the raw XMP packet. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="classExiv2_1_1Image.html#ad556f9ffa960f88d80b53cba3421af21">writeXmpFromPacket()</a>, <a class="el" href="classExiv2_1_1Image.html#a356eca19190afb6c6cc2fa02aa936cdd">xmpPacket()</a>, and <a class="el" href="classExiv2_1_1Image.html#ab62dc4efdf1c3ffe94443588e7d7b15b">xmpPacket_</a>.</p>

<p>Referenced by <a class="el" href="classExiv2_1_1Image.html#a5374f217a84fadfe4ba97bebf00ae2b3">setMetadata()</a>.</p>

</div>
</div>
<a class="anchor" id="af9f7e86aac2f656473e456e16550ab58"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Exiv2::Image::writeMetadata </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Write metadata back to the image. </p>
<p>All existing metadata sections in the image are either created, replaced, or erased. If values for a given metadata type have been assigned, a section for that metadata type will either be created or replaced. If no values have been assigned to a given metadata type, any exists section for that metadata type will be removed from the image.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Error</td><td>if the operation fails </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classExiv2_1_1JpegBase.html#a5e17357e701288db323db2bb5c9db1a9">Exiv2::JpegBase</a>, <a class="el" href="classExiv2_1_1TgaImage.html#af20e745446d742b47753eb9b9698a941">Exiv2::TgaImage</a>, <a class="el" href="classExiv2_1_1GifImage.html#ade01838d801beb44968b806eaf469ef0">Exiv2::GifImage</a>, <a class="el" href="classExiv2_1_1BmpImage.html#a0deb05581273e6407b686e739fcdcf27">Exiv2::BmpImage</a>, <a class="el" href="classExiv2_1_1CrwImage.html#a1ae7b7dbf36f40504152112d67114afa">Exiv2::CrwImage</a>, <a class="el" href="classExiv2_1_1PsdImage.html#abb47f0e2bcff7e326e6bf09ada06ceae">Exiv2::PsdImage</a>, <a class="el" href="classExiv2_1_1PngImage.html#a4a82a4143b70e11a59f4e9a56255f6a2">Exiv2::PngImage</a>, <a class="el" href="classExiv2_1_1TiffImage.html#ab4d6dcbd915abe2254bfef751a3f1da7">Exiv2::TiffImage</a>, <a class="el" href="classExiv2_1_1EpsImage.html#a0043b000b9213e8f816db5170f558619">Exiv2::EpsImage</a>, <a class="el" href="classExiv2_1_1MrwImage.html#a35b5e31b5d4500d71a724813dc0c57cb">Exiv2::MrwImage</a>, <a class="el" href="classExiv2_1_1PgfImage.html#a253b1c6cb48747420a3fa7813310d95d">Exiv2::PgfImage</a>, <a class="el" href="classExiv2_1_1Jp2Image.html#afebe3c6b1ca88d58922e41b55ce36139">Exiv2::Jp2Image</a>, <a class="el" href="classExiv2_1_1MatroskaVideo.html#aa8b7f91b635b5da885fd10580ba41972">Exiv2::MatroskaVideo</a>, <a class="el" href="classExiv2_1_1RafImage.html#a3337927b7f39bef4dce153556a4b77a2">Exiv2::RafImage</a>, <a class="el" href="classExiv2_1_1Rw2Image.html#ae71368a7c97550651d131152b31e38ce">Exiv2::Rw2Image</a>, <a class="el" href="classExiv2_1_1Cr2Image.html#a02e43bd63c2b10ce1ee190396d71a1b2">Exiv2::Cr2Image</a>, <a class="el" href="classExiv2_1_1OrfImage.html#acfbb361e4af39171546fb1491a6df085">Exiv2::OrfImage</a>, <a class="el" href="classExiv2_1_1XmpSidecar.html#ac19b2de60b6af08602da62ef3f937ee0">Exiv2::XmpSidecar</a>, <a class="el" href="classExiv2_1_1AsfVideo.html#ac9e9471001bc8feb68d9b2f5c7878812">Exiv2::AsfVideo</a>, <a class="el" href="classExiv2_1_1QuickTimeVideo.html#a9d39c61bf9e07042cb8b05539de739b9">Exiv2::QuickTimeVideo</a>, and <a class="el" href="classExiv2_1_1RiffVideo.html#a6617d31a182f5f4bfb76ff3b21fa35d7">Exiv2::RiffVideo</a>.</p>

</div>
</div>
<a class="anchor" id="ab64199a4be87a12f81bd111ce4019dfc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Image::writeXmpFromPacket </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determine the source when writing XMP. </p>
<p>Depending on the setting of this flag, <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> writes XMP from the buffered raw XMP packet or from parsed XMP data. The default is to write from parsed XMP data. The switch is also set by all functions to set and clear the buffered raw XMP packet and parsed XMP data, so using this function should usually not be necessary.</p>
<p>If Exiv2 was compiled without XMP support, the default for this flag is true and it will never be changed in order to preserve access to the raw XMP packet. </p>

</div>
</div>
<a class="anchor" id="aade24695d8ac332f0402dcb10d601382"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classExiv2_1_1XmpData.html">XmpData</a> &amp; Exiv2::Image::xmpData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an <a class="el" href="classExiv2_1_1XmpData.html" title="A container for XMP data. This is a top-level class of the Exiv2 library. ">XmpData</a> instance containing currently buffered XMP data. </p>
<p>The contained XMP data may have been read from the image by a previous call to <a class="el" href="classExiv2_1_1Image.html#a198b8d5924d6441748aa162130c96a5f" title="Read all metadata supported by a specific image format from the image. Before this method is called...">readMetadata()</a> or added directly. The XMP data in the returned instance will be written to the image when <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> is called.</p>
<dl class="section return"><dt>Returns</dt><dd>modifiable <a class="el" href="classExiv2_1_1XmpData.html" title="A container for XMP data. This is a top-level class of the Exiv2 library. ">XmpData</a> instance containing XMP values </dd></dl>

<p>References <a class="el" href="classExiv2_1_1Image.html#afd748b186fc5d731e7943ab38b718168">xmpData_</a>.</p>

<p>Referenced by <a class="el" href="classAction_1_1Erase.html#ab83281ed24381883a4a1271205308bd9">Action::Erase::eraseXmpData()</a>, <a class="el" href="classAction_1_1Print.html#a528fc356b80db091148be4727b28a4a5">Action::Print::printMetadata()</a>, <a class="el" href="classExiv2_1_1Jp2Image.html#a4bf3d9ed94a4be4e5d931a812c6d58bf">Exiv2::Jp2Image::readMetadata()</a>, <a class="el" href="classExiv2_1_1PgfImage.html#a5af0948267616b7954d5f95c84441e82">Exiv2::PgfImage::readMetadata()</a>, <a class="el" href="classExiv2_1_1Image.html#a5374f217a84fadfe4ba97bebf00ae2b3">setMetadata()</a>, <a class="el" href="classExiv2_1_1Image.html#a5fff5a898432265e656457ac8f7f666b">setXmpData()</a>, and <a class="el" href="classExiv2_1_1RiffVideo.html#add09f7bda28b9e7db72d8f2cace7c00a">Exiv2::RiffVideo::streamDataTagHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a9d15c63b1719b6fa6c96fbde3e0cc965"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classExiv2_1_1XmpData.html">XmpData</a> &amp; Exiv2::Image::xmpData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an <a class="el" href="classExiv2_1_1XmpData.html" title="A container for XMP data. This is a top-level class of the Exiv2 library. ">XmpData</a> instance containing currently buffered XMP data. </p>
<p>The contained XMP data may have been read from the image by a previous call to <a class="el" href="classExiv2_1_1Image.html#a198b8d5924d6441748aa162130c96a5f" title="Read all metadata supported by a specific image format from the image. Before this method is called...">readMetadata()</a> or added directly. The XMP data in the returned instance will be written to the image when <a class="el" href="classExiv2_1_1Image.html#af9f7e86aac2f656473e456e16550ab58" title="Write metadata back to the image. ">writeMetadata()</a> is called.</p>
<dl class="section return"><dt>Returns</dt><dd>modifiable <a class="el" href="classExiv2_1_1XmpData.html" title="A container for XMP data. This is a top-level class of the Exiv2 library. ">XmpData</a> instance containing XMP values </dd></dl>

<p>References <a class="el" href="classExiv2_1_1Image.html#afd748b186fc5d731e7943ab38b718168">xmpData_</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="image_8hpp.html">image.hpp</a></li>
<li>image.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 4 2016 17:51:50 for Exiv2 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>