<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Exiv2: tgaimage.hpp File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>tgaimage.hpp File Reference</h1>Truevision TARGA v2 image, implemented using the following references: <a href="http://en.wikipedia.org/wiki/Truevision_TGA">Truevision TGA page on Wikipedia</a><br> <a href="http://www.gamers.org/dEngine/quake3/TGA.ps.gz">TGA(tm) File Format Specification</a>. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="exif_8hpp.html">exif.hpp</a>"</code><br> <code>#include "<a class="el" href="iptc_8hpp.html">iptc.hpp</a>"</code><br> <code>#include "<a class="el" href="image_8hpp.html">image.hpp</a>"</code><br> <code>#include "<a class="el" href="types_8hpp.html">types.hpp</a>"</code><br> <code>#include <string></code><br> <p> <div class="dynheader"> Include dependency graph for tgaimage.hpp:</div> <div class="dynsection"> <p><center><img src="tgaimage_8hpp__incl.png" border="0" usemap="#tgaimage.hpp_map" alt=""></center> <map name="tgaimage.hpp_map"> <area shape="rect" id="node3" href="exif_8hpp.html" title="Encoding and decoding of Exif data." alt="" coords="768,229,869,256"><area shape="rect" id="node7" href="types_8hpp.html" title="Type definitions for Exiv2 and related functionality." alt="" coords="1552,528,1664,555"><area shape="rect" id="node55" href="iptc_8hpp.html" title="Encoding and decoding of IPTC data." alt="" coords="1307,229,1408,256"><area shape="rect" id="node77" href="image_8hpp.html" title="Class Image, defining the interface for all Image subclasses." alt="" coords="1208,80,1320,107"><area shape="rect" id="node5" href="metadatum_8hpp.html" title="Provides abstract base classes Metadatum and Key." alt="" coords="819,379,971,405"><area shape="rect" id="node25" href="value_8hpp.html" title="Value interface and concrete subclasses." alt="" coords="523,453,635,480"><area shape="rect" id="node41" href="tags_8hpp.html" title="Exif tag and type information." alt="" coords="717,304,819,331"><area shape="rect" id="node9" href="version_8hpp.html" title="Precompiler define and a function to test the Exiv2 version. References: Similar..." alt="" coords="1789,603,1920,629"><area shape="rect" id="node59" href="error_8hpp.html" title="Error class for exceptions." alt="" coords="1856,453,1968,480"><area shape="rect" id="node67" href="datasets_8hpp.html" title="IPTC dataset and type information." alt="" coords="1147,304,1288,331"><area shape="rect" id="node80" href="basicio_8hpp.html" title="Simple binary IO abstraction." alt="" coords="1043,453,1173,480"><area shape="rect" id="node89" href="xmp_8hpp.html" title="Encoding and decoding of XMP data." alt="" coords="996,155,1087,181"><area shape="rect" id="node92" href="properties_8hpp.html" title="XMP property and type information. References:  XMP Specification from Adobe (Property..." alt="" coords="961,229,1121,256"></map> </div> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1TgaImage.html">Exiv2::TgaImage</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Class to access raw TARGA images. This is just a stub - we only read width and height. <a href="classExiv2_1_1TgaImage.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html">Exiv2</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides classes and functions to encode and decode Exif and Iptc data. The <b>libexiv2</b> API consists of the objects of this namespace. <br></td></tr> <p> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2_1_1ImageType.html">Exiv2::ImageType</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Supported image formats. <br></td></tr> <p> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="43b242299ac95dff1a18759ebed87b55"></a><!-- doxytag: member="tgaimage.hpp::newTgaInstance" ref="43b242299ac95dff1a18759ebed87b55" args="(BasicIo::AutoPtr io, bool create)" --> EXIV2API Image::AutoPtr </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#43b242299ac95dff1a18759ebed87b55">Exiv2::newTgaInstance</a> (BasicIo::AutoPtr io, bool create)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classExiv2_1_1TgaImage.html" title="Class to access raw TARGA images. This is just a stub - we only read width and height...">TgaImage</a> instance and return an auto-pointer to it. Caller owns the returned object and the auto-pointer ensures that it will be deleted. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e28192e762ae5664c12afe6677a2593"></a><!-- doxytag: member="tgaimage.hpp::isTgaType" ref="8e28192e762ae5664c12afe6677a2593" args="(BasicIo &iIo, bool advance)" --> EXIV2API bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2.html#8e28192e762ae5664c12afe6677a2593">Exiv2::isTgaType</a> (BasicIo &iIo, bool advance)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Check if the file iIo is a Targa v2 image. <br></td></tr> <tr><td colspan="2"><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd93d59659be97f034f8b8b6b5b3d2c0"></a><!-- doxytag: member="tgaimage.hpp::tga" ref="bd93d59659be97f034f8b8b6b5b3d2c0" args="" --> const int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceExiv2_1_1ImageType.html#bd93d59659be97f034f8b8b6b5b3d2c0">Exiv2::ImageType::tga</a> = 13</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Truevision TARGA (tga) image type (see class <a class="el" href="classExiv2_1_1TgaImage.html" title="Class to access raw TARGA images. This is just a stub - we only read width and height...">TgaImage</a>). <br></td></tr> </table> <hr><h2>Detailed Description</h2> Truevision TARGA v2 image, implemented using the following references: <a href="http://en.wikipedia.org/wiki/Truevision_TGA">Truevision TGA page on Wikipedia</a><br> <a href="http://www.gamers.org/dEngine/quake3/TGA.ps.gz">TGA(tm) File Format Specification</a>. <p> <dl class="version" compact><dt><b>Version:</b></dt><dd></dd></dl> <dl class="rcs" compact><dt><b>Rev</b></dt><dd>1750 </dd></dl> <dl class="author" compact><dt><b>Author:</b></dt><dd>Marco Piovanelli, Ovolab (marco) <a href="mailto:marco.piovanelli@pobox.com">marco.piovanelli@pobox.com</a> </dd></dl> <dl class="date" compact><dt><b>Date:</b></dt><dd>05-Mar-2007, marco: created </dd></dl> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jun 25 15:17:34 2009 for Exiv2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>