]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/html/man/TIFFquery.3tiff.html
Check for GTK window parent, not wx one, when reparenting.
[wxWidgets.git] / src / tiff / html / man / TIFFquery.3tiff.html
CommitLineData
8414a40c
VZ
1<!-- Creator : groff version 1.18.1 -->
2<!-- CreationDate: Mon Mar 13 18:03:09 2006 -->
3<html>
4<head>
5<meta name="generator" content="groff -Thtml, see www.gnu.org">
6<meta name="Content-Style" content="text/css">
7<title>QUERY</title>
8</head>
9<body>
10
11<h1 align=center>QUERY</h1>
12<a href="#NAME">NAME</a><br>
13<a href="#SYNOPSIS">SYNOPSIS</a><br>
14<a href="#DESCRIPTION">DESCRIPTION</a><br>
15<a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
16<a href="#SEE ALSO">SEE ALSO</a><br>
17
18<hr>
19<a name="NAME"></a>
20<h2>NAME</h2>
21<!-- INDENTATION -->
22<table width="100%" border=0 rules="none" frame="void"
23 cols="2" cellspacing="0" cellpadding="0">
24<tr valign="top" align="left">
25<td width="8%"></td>
26<td width="91%">
27<p>TIFFCurrentRow, TIFFCurrentStrip, TIFFCurrentTile,
28TIFFCurrentDirectory, TIFFLastDirectory, TIFFFileno,
29TIFFFileName, TIFFGetMode, TIFFIsTiled, TIFFIsByteSwapped,
30TIFFIsUpSampled, TIFFIsMSB2LSB, TIFFGetVersion &minus; query
31routines</p>
32</td>
33</table>
34<a name="SYNOPSIS"></a>
35<h2>SYNOPSIS</h2>
36<!-- INDENTATION -->
37<table width="100%" border=0 rules="none" frame="void"
38 cols="2" cellspacing="0" cellpadding="0">
39<tr valign="top" align="left">
40<td width="8%"></td>
41<td width="91%">
42<p><b>#include &lt;tiffio.h&gt;</b></p>
43<!-- INDENTATION -->
44<p><b>uint32 TIFFCurrentRow(TIFF*</b> <i>tif</i><b>)<br>
45tstrip_t TIFFCurrentStrip(TIFF*</b> <i>tif</i><b>)<br>
46ttile_t TIFFCurrentTile(TIFF*</b> <i>tif</i><b>)<br>
47tdir_t TIFFCurrentDirectory(TIFF*</b> <i>tif</i><b>)<br>
48int TIFFLastDirectory(TIFF*</b> <i>tif</i><b>)<br>
49int TIFFFileno(TIFF*</b> <i>tif</i><b>)<br>
50char* TIFFFileName(TIFF*</b> <i>tif</i><b>)<br>
51int TIFFGetMode(TIFF*</b> <i>tif</i><b>)<br>
52int TIFFIsTiled(TIFF*</b> <i>tif</i><b>)<br>
53int TIFFIsByteSwapped(TIFF*</b> <i>tif</i><b>)<br>
54int TIFFIsUpSampled(TIFF*</b> <i>tif</i><b>)<br>
55int TIFFIsMSB2LSB(TIFF*</b> <i>tif</i><b>)<br>
56const char* TIFFGetVersion(void)</b></p>
57</td>
58</table>
59<a name="DESCRIPTION"></a>
60<h2>DESCRIPTION</h2>
61<!-- INDENTATION -->
62<table width="100%" border=0 rules="none" frame="void"
63 cols="2" cellspacing="0" cellpadding="0">
64<tr valign="top" align="left">
65<td width="8%"></td>
66<td width="91%">
67<p>The following routines return status information about an
68open <small>TIFF</small> file.</p>
69<!-- INDENTATION -->
70<p><i>TIFFCurrentDirectory</i> returns the index of the
71current directory (directories are numbered starting at 0).
72This number is suitable for use with the
73<i>TIFFSetDirectory</i> routine.</p>
74<!-- INDENTATION -->
75<p><i>TIFFLastDirectory</i> returns a non-zero value if the
76current directory is the last directory in the file;
77otherwise zero is returned.</p>
78<!-- INDENTATION -->
79<p><i>TIFFCurrentRow</i>, <i>TIFFCurrentStrip</i>, and
80<i>TIFFCurrentTile</i>, return the current row, strip, and
81tile, respectively, that is being read or written. These
82values are updated each time a read or write is done.</p>
83<!-- INDENTATION -->
84<p><i>TIFFFileno</i> returns the underlying file descriptor
85used to access the <small>TIFF</small> image in the
86filesystem.</p>
87<!-- INDENTATION -->
88<p><i>TIFFFileName</i> returns the pathname argument passed
89to <i>TIFFOpen</i> or <i>TIFFFdOpen</i>.</p>
90<!-- INDENTATION -->
91<p><i>TIFFGetMode</i> returns the mode with which the
92underlying file was opened. On <small>UNIX</small> systems,
93this is the value passed to the <i>open</i>(2) system
94call.</p>
95<!-- INDENTATION -->
96<p><i>TIFFIsTiled</i> returns a non-zero value if the image
97data has a tiled organization. Zero is returned if the image
98data is organized in strips.</p>
99<!-- INDENTATION -->
100<p><i>TIFFIsByteSwapped</i> returns a non-zero value if the
101image data was in a different byte-order than the host
102machine. Zero is returned if the TIFF file and local host
103byte-orders are the same. Note that TIFFReadTile(),
104TIFFReadStrip() and TIFFReadScanline() functions already
105normally perform byte swapping to local host order if
106needed.</p>
107<!-- INDENTATION -->
108<p><i>TIFFIsUpSampled</i> returns a non-zero value if image
109data returned through the read interface routines is being
110up-sampled. This can be useful to applications that want to
111calculate I/O buffer sizes to reflect this usage (though the
112usual strip and tile size routines already do this).</p>
113<!-- INDENTATION -->
114<p><i>TIFFIsMSB2LSB</i> returns a non-zero value if the
115image data is being returned with bit 0 as the most
116significant bit.</p>
117<!-- INDENTATION -->
118<p><i>TIFFGetVersion</i> returns an <small>ASCII</small>
119string that has a version stamp for the <small>TIFF</small>
120library software.</p>
121</td>
122</table>
123<a name="DIAGNOSTICS"></a>
124<h2>DIAGNOSTICS</h2>
125<!-- INDENTATION -->
126<table width="100%" border=0 rules="none" frame="void"
127 cols="2" cellspacing="0" cellpadding="0">
128<tr valign="top" align="left">
129<td width="8%"></td>
130<td width="91%">
131<p>None.</p>
132</td>
133</table>
134<a name="SEE ALSO"></a>
135<h2>SEE ALSO</h2>
136<!-- INDENTATION -->
137<table width="100%" border=0 rules="none" frame="void"
138 cols="2" cellspacing="0" cellpadding="0">
139<tr valign="top" align="left">
140<td width="8%"></td>
141<td width="91%">
142<p><i>libtiff</i>(3TIFF), <i>TIFFOpen</i>(3TIFF),
143<i>TIFFFdOpen</i>(3TIFF)</p>
144</td>
145</table>
146<hr>
147</body>
148</html>