1 <!-- Creator : groff version 1.21 -->
2 <!-- CreationDate: Sun Jul 29 12:12:01 2012 -->
3 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
4 "http://www.w3.org/TR/html4/loose.dtd">
7 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
8 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
9 <meta name=
"Content-Style" content=
"text/css">
10 <style type=
"text/css">
11 p { margin-top:
0; margin-bottom:
0; vertical-align: top }
12 pre { margin-top:
0; margin-bottom:
0; vertical-align: top }
13 table { margin-top:
0; margin-bottom:
0; vertical-align: top }
14 h1 { text-align: center }
16 <title>TIFFFieldPassCount
</title>
21 <h1 align=
"center">TIFFFieldPassCount
</h1>
23 <a href=
"#NAME">NAME
</a><br>
24 <a href=
"#SYNOPSIS">SYNOPSIS
</a><br>
25 <a href=
"#DESCRIPTION">DESCRIPTION
</a><br>
26 <a href=
"#RETURN VALUES">RETURN VALUES
</a><br>
27 <a href=
"#SEE ALSO">SEE ALSO
</a><br>
38 <p style=
"margin-left:11%; margin-top: 1em">TIFFFieldPassCount
39 − Get whether to pass a count to TIFFGet/SetField
</p>
42 <a name=
"SYNOPSIS"></a>
46 <p style=
"margin-left:11%; margin-top: 1em"><b>#include
47 <tiffio.h
></b></p>
49 <p style=
"margin-left:11%; margin-top: 1em"><b>int
50 TIFFFieldPassCount(const TIFFField*
</b>
51 <i>fip
</i><b>)
</b></p>
54 <a name=
"DESCRIPTION"></a>
59 <p style=
"margin-left:11%; margin-top: 1em"><b>TIFFFieldPassCount
</b>
60 returns true (nonzero) if
<b>TIFFGetField
</b> and
61 <b>TIFFSetField
</b> expect a
<i>count
</i> value to be passed
62 before the actual data pointer.
</p>
64 <p style=
"margin-left:11%; margin-top: 1em"><i>fip
</i> is a
65 field information pointer previously returned by
66 <b>TIFFFindField
</b>,
<b>TIFFFieldWithTag
</b>, or
67 <b>TIFFFieldWithName
</b>.
</p>
69 <p style=
"margin-left:11%; margin-top: 1em">When a
70 <i>count
</i> is required, it will be of type
<b>uint32
</b>
71 when
<b>TIFFFieldReadCount
</b> reports
72 <b>TIFF_VARIABLE2
</b>, and of type
<b>uint16
</b> otherwise.
73 (This distinction is critical for use of
74 <b>TIFFGetField
</b>, but normally not so for use of
75 <b>TIFFSetField
</b>.)
</p>
78 <a name=
"RETURN VALUES"></a>
83 <p style=
"margin-left:11%; margin-top: 1em"><b>TIFFFieldPassCount
</b>
84 returns an integer that is always
1 (true) or
0 (false).
</p>
87 <a name=
"SEE ALSO"></a>
92 <p style=
"margin-left:11%; margin-top: 1em"><b>libtiff
</b>(
3TIFF),
</p>
94 <p style=
"margin-left:11%; margin-top: 1em">Libtiff library
95 home page:
<b>http://www.remotesensing.org/libtiff/
</b></p>