]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <!-- Copyright 2008 Lubomir Bourdev and Hailin Jin |
2 | ||
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) | |
6 | --> | |
7 | ||
8 | <!-- | |
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) | |
12 | ||
13 | Some files are held under additional license. | |
14 | Please see "http://stlab.adobe.com/licenses.html" for more information. | |
15 | --> | |
16 | ||
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"> | |
20 | ||
21 | <head> | |
22 | <TITLE>Generic Image Library: tiff_dynamic_io.hpp File Reference</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"/> | |
25 | </head> | |
26 | <body> | |
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> | |
35 | </div> | |
36 | <!-- End Header --> | |
37 | <!-- Generated by Doxygen 1.5.6 --> | |
38 | <div class="navpath"><a class="el" href="g_i_l_0076.html">boost</a> » <a class="el" href="g_i_l_0079.html">gil</a> » <a class="el" href="g_i_l_0078.html">extension</a> » <a class="el" href="g_i_l_0077.html">io</a> | |
39 | </div> | |
40 | <div class="contents"> | |
41 | <h1>tiff_dynamic_io.hpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> | |
42 | Support for reading and writing TIFF files Requires libtiff! | |
43 | <p> | |
44 | <dl class="author" compact><dt><b>Author:</b></dt><dd>Hailin Jin and Lubomir Bourdev <br> | |
45 | Adobe Systems Incorporated </dd></dl> | |
46 | <dl class="date" compact><dt><b>Date:</b></dt><dd>2005-2007 <br> | |
47 | Last updated June 10, 2006 </dd></dl> | |
48 | ||
49 | <p> | |
50 | <code>#include <string></code><br> | |
51 | <code>#include <boost/mpl/bool.hpp></code><br> | |
52 | <code>#include "<a class="el" href="g_i_l_0082.html">../dynamic_image/dynamic_image_all.hpp</a>"</code><br> | |
53 | <code>#include "<a class="el" href="g_i_l_0228.html">io_error.hpp</a>"</code><br> | |
54 | <code>#include "<a class="el" href="g_i_l_0640.html">tiff_io.hpp</a>"</code><br> | |
55 | <code>#include "<a class="el" href="g_i_l_0084.html">dynamic_io.hpp</a>"</code><br> | |
56 | ||
57 | <p> | |
58 | <a href="g_i_l_0638.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> | |
59 | <tr><td></td></tr> | |
60 | <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> | |
61 | <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost.html">boost</a></td></tr> | |
62 | ||
63 | <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><b>boost::gil</b></td></tr> | |
64 | ||
65 | <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><b>boost::gil::detail</b></td></tr> | |
66 | ||
67 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> | |
68 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g6668f0775908d834ab5fdf0cb2e41e34"></a><!-- doxytag: member="tiff_dynamic_io.hpp::tiff_read_image" ref="g6668f0775908d834ab5fdf0cb2e41e34" args="(const char *filename, any_image< Images > &im)" --> | |
69 | template<typename Images> </td></tr> | |
70 | <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> | |
71 | ||
72 | <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> | |
73 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gd98fe891bca440cb0e68a08aaa9e4574"></a><!-- doxytag: member="tiff_dynamic_io.hpp::tiff_read_image" ref="gd98fe891bca440cb0e68a08aaa9e4574" args="(const std::string &filename, any_image< Images > &im)" --> | |
74 | template<typename Images> </td></tr> | |
75 | <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> | |
76 | ||
77 | <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> | |
78 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g512a713ae6fc8aa9da4415a1f554a67e"></a><!-- doxytag: member="tiff_dynamic_io.hpp::tiff_write_view" ref="g512a713ae6fc8aa9da4415a1f554a67e" args="(const char *filename, const any_image_view< Views > &runtime_view)" --> | |
79 | template<typename Views> </td></tr> | |
80 | <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> | |
81 | ||
82 | <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> | |
83 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g718fc306c4dba31246989bb6255dd3fb"></a><!-- doxytag: member="tiff_dynamic_io.hpp::tiff_write_view" ref="g718fc306c4dba31246989bb6255dd3fb" args="(const std::string &filename, const any_image_view< Views > &runtime_view)" --> | |
84 | template<typename Views> </td></tr> | |
85 | <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> | |
86 | ||
87 | <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> | |
88 | </table> | |
89 | </div> | |
90 | <hr size="1"><address style="text-align: right;"><small>Generated on Sat May 2 13:50:16 2009 for Generic Image Library by | |
91 | <a href="http://www.doxygen.org/index.html"> | |
92 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> | |
93 | </body> | |
94 | </html> |