1 <!-- Copyright 2008 Lubomir Bourdev and Hailin Jin
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
9 Copyright 2005-2007 Adobe Systems Incorporated
10 Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
11 or a copy at http://stlab.adobe.com/licenses.html)
13 Some files are held under additional license.
14 Please see "http://stlab.adobe.com/licenses.html" for more information.
17 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
18 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
19 <html xmlns=
"http://www.w3.org/1999/xhtml" lang=
"en" xml:
lang=
"en">
22 <TITLE>Generic Image Library: TIFF I/O
</TITLE>
23 <META HTTP-EQUIV=
"content-type" CONTENT=
"text/html;charset=ISO-8859-1"/>
24 <LINK TYPE=
"text/css" REL=
"stylesheet" HREF=
"adobe_source.css"/>
27 <table border=
"0" cellspacing=
"0" cellpadding=
"0" style='width:
100%; margin:
0; padding:
0'
><tr>
28 <td width=
"100%" valign=
"top" style='padding-left:
10px; padding-right:
10px; padding-bottom:
10px'
>
29 <div class=
"qindex"><a class=
"qindex" href=
"index.html">Modules
</a>
30 |
<a class=
"qindex" href=
"classes.html">Alphabetical List
</a>
31 |
<a class=
"qindex" href=
"annotated.html">Class List
</a>
32 |
<a class=
"qindex" href=
"dirs.html">Directories
</a>
33 |
<a class=
"qindex" href=
"files.html">File List
</a>
34 |
<a class=
"qindex" href=
"../index.html">GIL Home Page
</a>
37 <!-- Generated by Doxygen 1.5.6 -->
38 <div class=
"contents">
41 [
<a class=
"el" href=
"group___i_o.html">I/O
</a>]
</small>
42 </h1><hr><a name=
"_details"></a><h2>Detailed Description
</h2>
43 Support for reading and writing TIFF image files.
47 <table border=
"0" cellpadding=
"0" cellspacing=
"0">
49 <tr><td colspan=
"2"><br><h2>Classes
</h2></td></tr>
50 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">struct
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"g_i_l_0623.html">tiff_read_support
</a></td></tr>
52 <tr><td class=
"mdescLeft"> </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>
53 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">struct
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"g_i_l_0625.html">tiff_write_support
</a></td></tr>
55 <tr><td class=
"mdescLeft"> </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>
56 <tr><td colspan=
"2"><br><h2>Functions
</h2></td></tr>
57 <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< Images > &im)" -->
58 template
<typename Images
> </td></tr>
59 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
< Images
> &im)
</td></tr>
61 <tr><td class=
"mdescLeft"> </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>
62 <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 &filename, any_image< Images > &im)" -->
63 template
<typename Images
> </td></tr>
64 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memTemplItemRight" valign=
"bottom"><a class=
"el" href=
"g_i_l_0216.html#gd98fe891bca440cb0e68a08aaa9e4574">tiff_read_image
</a> (const std::string
&filename, any_image
< Images
> &im)
</td></tr>
66 <tr><td class=
"mdescLeft"> </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>
67 <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< Views > &runtime_view)" -->
68 template
<typename Views
> </td></tr>
69 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
< Views
> &runtime_view)
</td></tr>
71 <tr><td class=
"mdescLeft"> </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>
72 <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 &filename, const any_image_view< Views > &runtime_view)" -->
73 template
<typename Views
> </td></tr>
74 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memTemplItemRight" valign=
"bottom"><a class=
"el" href=
"g_i_l_0216.html#g718fc306c4dba31246989bb6255dd3fb">tiff_write_view
</a> (const std::string
&filename, const any_image_view
< Views
> &runtime_view)
</td></tr>
76 <tr><td class=
"mdescLeft"> </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>
77 <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)" -->
78 point2
< std::ptrdiff_t
> </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>
80 <tr><td class=
"mdescLeft"> </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>
81 <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 &filename)" -->
82 point2
< std::ptrdiff_t
> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"g_i_l_0216.html#g8b31d48262e61c900009ac6bd9e86bcd">tiff_read_dimensions
</a> (const std::string
&filename)
</td></tr>
84 <tr><td class=
"mdescLeft"> </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>
85 <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 &view)" -->
86 template
<typename View
> </td></tr>
87 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
&view)
</td></tr>
89 <tr><td class=
"mdescLeft"> </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>
90 <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 &filename, const View &view)" -->
91 template
<typename View
> </td></tr>
92 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memTemplItemRight" valign=
"bottom"><a class=
"el" href=
"g_i_l_0216.html#g4a2d3d9b5b0f3d963e5a8bec3c42cd91">tiff_read_view
</a> (const std::string
&filename, const View
&view)
</td></tr>
94 <tr><td class=
"mdescLeft"> </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>
95 <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 &im)" -->
96 template
<typename Image
> </td></tr>
97 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memTemplItemRight" valign=
"bottom"><a class=
"el" href=
"g_i_l_0216.html#g7de2814cc2089525400fe71ce00e78f9">tiff_read_image
</a> (const char *filename, Image
&im)
</td></tr>
99 <tr><td class=
"mdescLeft"> </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>
100 <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 &filename, Image &im)" -->
101 template
<typename Image
> </td></tr>
102 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memTemplItemRight" valign=
"bottom"><a class=
"el" href=
"g_i_l_0216.html#g14ff6b4a743878cac2b32fdaedd5e705">tiff_read_image
</a> (const std::string
&filename, Image
&im)
</td></tr>
104 <tr><td class=
"mdescLeft"> </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>
105 <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 &view, CC cc)" -->
106 template
<typename View, typename CC
> </td></tr>
107 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
&view, CC cc)
</td></tr>
109 <tr><td class=
"mdescLeft"> </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>
110 <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 &view)" -->
111 template
<typename View
> </td></tr>
112 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
&view)
</td></tr>
114 <tr><td class=
"mdescLeft"> </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>
115 <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 &filename, const View &view, CC cc)" -->
116 template
<typename View, typename CC
> </td></tr>
117 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
&filename, const View
&view, CC cc)
</td></tr>
119 <tr><td class=
"mdescLeft"> </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>
120 <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 &filename, const View &view)" -->
121 template
<typename View
> </td></tr>
122 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
&filename, const View
&view)
</td></tr>
124 <tr><td class=
"mdescLeft"> </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>
125 <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 &im, CC cc)" -->
126 template
<typename Image, typename CC
> </td></tr>
127 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
&im, CC cc)
</td></tr>
129 <tr><td class=
"mdescLeft"> </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>
130 <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 &im)" -->
131 template
<typename Image
> </td></tr>
132 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
&im)
</td></tr>
134 <tr><td class=
"mdescLeft"> </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>
135 <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 &filename, Image &im, CC cc)" -->
136 template
<typename Image, typename CC
> </td></tr>
137 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
&filename, Image
&im, CC cc)
</td></tr>
139 <tr><td class=
"mdescLeft"> </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>
140 <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 &filename, Image &im)" -->
141 template
<typename Image
> </td></tr>
142 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
&filename, Image
&im)
</td></tr>
144 <tr><td class=
"mdescLeft"> </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>
145 <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 &view)" -->
146 template
<typename View
> </td></tr>
147 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
&view)
</td></tr>
149 <tr><td class=
"mdescLeft"> </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>
150 <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 &filename, const View &view)" -->
151 template
<typename View
> </td></tr>
152 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memTemplItemRight" valign=
"bottom"><a class=
"el" href=
"g_i_l_0216.html#g99ce921bc92a5bbcf2145d3387e5e323">tiff_write_view
</a> (const std::string
&filename, const View
&view)
</td></tr>
154 <tr><td class=
"mdescLeft"> </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>
157 <hr size=
"1"><address style=
"text-align: right;"><small>Generated on Sat May
2 13:
50:
16 2009 for Generic Image Library by
158 <a href=
"http://www.doxygen.org/index.html">
159 <img src=
"doxygen.png" alt=
"doxygen" align=
"middle" border=
"0"></a> 1.5.6 </small></address>