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>TIFFFieldReadCount
</title>
21 <h1 align=
"center">TIFFFieldReadCount
</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">TIFFFieldReadCount
39 − Get number of values to be read from field
</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 TIFFFieldReadCount(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>TIFFFieldReadCount
</b>
60 returns the number of values available to be read from the
61 specified TIFF field; that is, the number of arguments that
62 should be supplied to
<b>TIFFGetField
</b>. For most field
63 types this is a small positive integer, typically
1 or
2,
64 but there are some special values:
<b><br>
65 TIFF_VARIABLE
</b> indicates that a variable number of values
66 is possible; then, a
<b>uint16
</b> <i>count
</i> argument and
67 a pointer
<i>data
</i> argument must be supplied to
68 <b>TIFFGetField
</b>.
<b><br>
69 TIFF_VARIABLE2
</b> is the same as
<b>TIFF_VARIABLE
</b>
70 except that the
<i>count
</i> argument must have type
71 <b>uint32
</b>.
<b><br>
72 TIFF_SPP
</b> indicates that the number of arguments is equal
73 to the image
’s number of samples per pixel.
</p>
75 <p style=
"margin-left:11%; margin-top: 1em"><i>fip
</i> is a
76 field information pointer previously returned by
77 <b>TIFFFindField
</b>,
<b>TIFFFieldWithTag
</b>, or
78 <b>TIFFFieldWithName
</b>.
</p>
81 <a name=
"RETURN VALUES"></a>
86 <p style=
"margin-left:11%; margin-top: 1em"><b>TIFFFieldReadCount
</b>
87 returns an integer.
</p>
90 <a name=
"SEE ALSO"></a>
95 <p style=
"margin-left:11%; margin-top: 1em"><b>libtiff
</b>(
3TIFF),
</p>
97 <p style=
"margin-left:11%; margin-top: 1em">Libtiff library
98 home page:
<b>http://www.remotesensing.org/libtiff/
</b></p>