blob: f09c25f837b4884747b5da365564744be06a1673 [file] [log] [blame]
<!-- Copyright 2008 Lubomir Bourdev and Hailin Jin
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
-->
<!--
Copyright 2005-2007 Adobe Systems Incorporated
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://stlab.adobe.com/licenses.html)
Some files are held under additional license.
Please see "http://stlab.adobe.com/licenses.html" for more information.
-->
<!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" lang="en" xml:lang="en">
<head>
<TITLE>Generic Image Library: TIFF I/O</TITLE>
<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=ISO-8859-1"/>
<LINK TYPE="text/css" REL="stylesheet" HREF="adobe_source.css"/>
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" style='width: 100%; margin: 0; padding: 0'><tr>
<td width="100%" valign="top" style='padding-left: 10px; padding-right: 10px; padding-bottom: 10px'>
<div class="qindex"><a class="qindex" href="index.html">Modules</a>
| <a class="qindex" href="classes.html">Alphabetical List</a>
| <a class="qindex" href="annotated.html">Class List</a>
| <a class="qindex" href="dirs.html">Directories</a>
| <a class="qindex" href="files.html">File List</a>
| <a class="qindex" href="../index.html">GIL Home Page</a>
</div>
<!-- End Header -->
<!-- Generated by Doxygen 1.5.6 -->
<div class="contents">
<h1>TIFF I/O<br>
<small>
[<a class="el" href="group___i_o.html">I/O</a>]</small>
</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Support for reading and writing TIFF image files.
<p>
<p>
<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">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0623.html">tiff_read_support</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines whether the given view type is supported for reading. <a href="g_i_l_0623.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0625.html">tiff_write_support</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines whether the given view type is supported for writing. <a href="g_i_l_0625.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g6668f0775908d834ab5fdf0cb2e41e34"></a><!-- doxytag: member="TIFF_IO::tiff_read_image" ref="g6668f0775908d834ab5fdf0cb2e41e34" args="(const char *filename, any_image&lt; Images &gt; &amp;im)" -->
template&lt;typename Images&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g6668f0775908d834ab5fdf0cb2e41e34">tiff_read_image</a> (const char *filename, any_image&lt; Images &gt; &amp;im)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">reads a TIFF <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> into a run-time instantiated <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> Opens the given tiff file name, selects the first type in Images whose color space and channel are compatible to those of the <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file and creates a new <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> of that type with the dimensions specified by the <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file. Throws std::ios_base::failure if none of the types in Images are compatible with the type on disk. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gd98fe891bca440cb0e68a08aaa9e4574"></a><!-- doxytag: member="TIFF_IO::tiff_read_image" ref="gd98fe891bca440cb0e68a08aaa9e4574" args="(const std::string &amp;filename, any_image&lt; Images &gt; &amp;im)" -->
template&lt;typename Images&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#gd98fe891bca440cb0e68a08aaa9e4574">tiff_read_image</a> (const std::string &amp;filename, any_image&lt; Images &gt; &amp;im)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">reads a TIFF <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> into a run-time instantiated <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g512a713ae6fc8aa9da4415a1f554a67e"></a><!-- doxytag: member="TIFF_IO::tiff_write_view" ref="g512a713ae6fc8aa9da4415a1f554a67e" args="(const char *filename, const any_image_view&lt; Views &gt; &amp;runtime_view)" -->
template&lt;typename Views&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g512a713ae6fc8aa9da4415a1f554a67e">tiff_write_view</a> (const char *filename, const any_image_view&lt; Views &gt; &amp;runtime_view)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves the currently instantiated view to a tiff file specified by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file name. Throws std::ios_base::failure if the currently instantiated view type is not supported for writing by the I/O extension or if it fails to create the file. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g718fc306c4dba31246989bb6255dd3fb"></a><!-- doxytag: member="TIFF_IO::tiff_write_view" ref="g718fc306c4dba31246989bb6255dd3fb" args="(const std::string &amp;filename, const any_image_view&lt; Views &gt; &amp;runtime_view)" -->
template&lt;typename Views&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g718fc306c4dba31246989bb6255dd3fb">tiff_write_view</a> (const std::string &amp;filename, const any_image_view&lt; Views &gt; &amp;runtime_view)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves the currently instantiated view to a tiff file specified by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file name. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g2ba83bb2df815c50bab5526c5b411112"></a><!-- doxytag: member="TIFF_IO::tiff_read_dimensions" ref="g2ba83bb2df815c50bab5526c5b411112" args="(const char *filename)" -->
point2&lt; std::ptrdiff_t &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g2ba83bb2df815c50bab5526c5b411112">tiff_read_dimensions</a> (const char *filename)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the width and height of the TIFF file at the specified location. Throws std::ios_base::failure if the location does not correspond to a valid TIFF file. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g8b31d48262e61c900009ac6bd9e86bcd"></a><!-- doxytag: member="TIFF_IO::tiff_read_dimensions" ref="g8b31d48262e61c900009ac6bd9e86bcd" args="(const std::string &amp;filename)" -->
point2&lt; std::ptrdiff_t &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g8b31d48262e61c900009ac6bd9e86bcd">tiff_read_dimensions</a> (const std::string &amp;filename)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the width and height of the TIFF file at the specified location. Throws std::ios_base::failure if the location does not correspond to a valid TIFF file. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g7fd10d03f899b14858eeb7b9c0c89f37"></a><!-- doxytag: member="TIFF_IO::tiff_read_view" ref="g7fd10d03f899b14858eeb7b9c0c89f37" args="(const char *filename, const View &amp;view)" -->
template&lt;typename View&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g7fd10d03f899b14858eeb7b9c0c89f37">tiff_read_view</a> (const char *filename, const View &amp;view)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads the <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> specified by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file name into the given view. Triggers a compile assert if the view color space and channel depth are not supported by the TIFF library or by the I/O extension. Throws std::ios_base::failure if the file is not a valid TIFF file, or if its color space or channel depth are not compatible with the ones specified by View, or if its dimensions don't match the ones of the view. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g4a2d3d9b5b0f3d963e5a8bec3c42cd91"></a><!-- doxytag: member="TIFF_IO::tiff_read_view" ref="g4a2d3d9b5b0f3d963e5a8bec3c42cd91" args="(const std::string &amp;filename, const View &amp;view)" -->
template&lt;typename View&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g4a2d3d9b5b0f3d963e5a8bec3c42cd91">tiff_read_view</a> (const std::string &amp;filename, const View &amp;view)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads the <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> specified by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file name into the given view. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g7de2814cc2089525400fe71ce00e78f9"></a><!-- doxytag: member="TIFF_IO::tiff_read_image" ref="g7de2814cc2089525400fe71ce00e78f9" args="(const char *filename, Image &amp;im)" -->
template&lt;typename Image&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g7de2814cc2089525400fe71ce00e78f9">tiff_read_image</a> (const char *filename, Image &amp;im)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocates a new <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> whose dimensions are determined by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file, and loads the pixels into it. Triggers a compile assert if the <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> color space or channel depth are not supported by the TIFF library or by the I/O extension. Throws std::ios_base::failure if the file is not a valid TIFF file, or if its color space or channel depth are not compatible with the ones specified by Image. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g14ff6b4a743878cac2b32fdaedd5e705"></a><!-- doxytag: member="TIFF_IO::tiff_read_image" ref="g14ff6b4a743878cac2b32fdaedd5e705" args="(const std::string &amp;filename, Image &amp;im)" -->
template&lt;typename Image&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g14ff6b4a743878cac2b32fdaedd5e705">tiff_read_image</a> (const std::string &amp;filename, Image &amp;im)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocates a new <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> whose dimensions are determined by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file, and loads the pixels into it. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g6d0a5976a464ffecb65f576ea6fcbf0d"></a><!-- doxytag: member="TIFF_IO::tiff_read_and_convert_view" ref="g6d0a5976a464ffecb65f576ea6fcbf0d" args="(const char *filename, const View &amp;view, CC cc)" -->
template&lt;typename View, typename CC&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g6d0a5976a464ffecb65f576ea6fcbf0d">tiff_read_and_convert_view</a> (const char *filename, const View &amp;view, CC cc)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads and color-converts the <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> specified by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file name into the given view. Throws std::ios_base::failure if the file is not a valid TIFF file, or if its dimensions don't match the ones of the view. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gfbd25171c6709b26a918347c79123dec"></a><!-- doxytag: member="TIFF_IO::tiff_read_and_convert_view" ref="gfbd25171c6709b26a918347c79123dec" args="(const char *filename, const View &amp;view)" -->
template&lt;typename View&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#gfbd25171c6709b26a918347c79123dec">tiff_read_and_convert_view</a> (const char *filename, const View &amp;view)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads and color-converts the <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> specified by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file name into the given view. Throws std::ios_base::failure if the file is not a valid TIFF file, or if its dimensions don't match the ones of the view. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ga6c1a60f6eb8fcf72e5d13017e7cb635"></a><!-- doxytag: member="TIFF_IO::tiff_read_and_convert_view" ref="ga6c1a60f6eb8fcf72e5d13017e7cb635" args="(const std::string &amp;filename, const View &amp;view, CC cc)" -->
template&lt;typename View, typename CC&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#ga6c1a60f6eb8fcf72e5d13017e7cb635">tiff_read_and_convert_view</a> (const std::string &amp;filename, const View &amp;view, CC cc)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads and color-converts the <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> specified by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file name into the given view. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g70a389ee105e3e4d68c6b6b5960be3b5"></a><!-- doxytag: member="TIFF_IO::tiff_read_and_convert_view" ref="g70a389ee105e3e4d68c6b6b5960be3b5" args="(const std::string &amp;filename, const View &amp;view)" -->
template&lt;typename View&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g70a389ee105e3e4d68c6b6b5960be3b5">tiff_read_and_convert_view</a> (const std::string &amp;filename, const View &amp;view)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads and color-converts the <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> specified by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file name into the given view. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g7c4b48141392f077294832fc454a1305"></a><!-- doxytag: member="TIFF_IO::tiff_read_and_convert_image" ref="g7c4b48141392f077294832fc454a1305" args="(const char *filename, Image &amp;im, CC cc)" -->
template&lt;typename Image, typename CC&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g7c4b48141392f077294832fc454a1305">tiff_read_and_convert_image</a> (const char *filename, Image &amp;im, CC cc)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocates a new <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> whose dimensions are determined by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file, loads and color-converts the pixels into it. Throws std::ios_base::failure if the file is not a valid TIFF file. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g0d7443b89bad3aea2c626b3c0bc14f36"></a><!-- doxytag: member="TIFF_IO::tiff_read_and_convert_image" ref="g0d7443b89bad3aea2c626b3c0bc14f36" args="(const char *filename, Image &amp;im)" -->
template&lt;typename Image&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g0d7443b89bad3aea2c626b3c0bc14f36">tiff_read_and_convert_image</a> (const char *filename, Image &amp;im)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocates a new <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> whose dimensions are determined by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file, loads and color-converts the pixels into it. Throws std::ios_base::failure if the file is not a valid TIFF file. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g7138a8a01225d3fec81ba55dda09b1ba"></a><!-- doxytag: member="TIFF_IO::tiff_read_and_convert_image" ref="g7138a8a01225d3fec81ba55dda09b1ba" args="(const std::string &amp;filename, Image &amp;im, CC cc)" -->
template&lt;typename Image, typename CC&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g7138a8a01225d3fec81ba55dda09b1ba">tiff_read_and_convert_image</a> (const std::string &amp;filename, Image &amp;im, CC cc)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocates a new <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> whose dimensions are determined by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file, loads and color-converts the pixels into it. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gde7bb58e80854798d895fef8406a6ad6"></a><!-- doxytag: member="TIFF_IO::tiff_read_and_convert_image" ref="gde7bb58e80854798d895fef8406a6ad6" args="(const std::string &amp;filename, Image &amp;im)" -->
template&lt;typename Image&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#gde7bb58e80854798d895fef8406a6ad6">tiff_read_and_convert_image</a> (const std::string &amp;filename, Image &amp;im)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocates a new <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> whose dimensions are determined by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file, loads and color-converts the pixels into it. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g1ef8f86c35347f6f0a5c3662fa1dca81"></a><!-- doxytag: member="TIFF_IO::tiff_write_view" ref="g1ef8f86c35347f6f0a5c3662fa1dca81" args="(const char *filename, const View &amp;view)" -->
template&lt;typename View&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g1ef8f86c35347f6f0a5c3662fa1dca81">tiff_write_view</a> (const char *filename, const View &amp;view)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves the view to a tiff file specified by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file name. Triggers a compile assert if the view color space and channel depth are not supported by the TIFF library or by the I/O extension. Throws std::ios_base::failure if it fails to create the file. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g99ce921bc92a5bbcf2145d3387e5e323"></a><!-- doxytag: member="TIFF_IO::tiff_write_view" ref="g99ce921bc92a5bbcf2145d3387e5e323" args="(const std::string &amp;filename, const View &amp;view)" -->
template&lt;typename View&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0216.html#g99ce921bc92a5bbcf2145d3387e5e323">tiff_write_view</a> (const std::string &amp;filename, const View &amp;view)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves the view to a tiff file specified by the given tiff <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> file name. <br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat May 2 13:50:16 2009 for Generic Image Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>