~ubuntu-branches/ubuntu/karmic/tiff/karmic-security

« back to all changes in this revision

Viewing changes to html/man/TIFFquery.3t.html

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2004-10-14 07:57:59 UTC
  • Revision ID: james.westby@ubuntu.com-20041014075759-a77e7zuaetya8cp0
Tags: upstream-3.6.1
ImportĀ upstreamĀ versionĀ 3.6.1

Show diffs side-by-side

added added

removed removed

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