1 .\" $Id: TIFFFieldReadCount.3tiff,v 1.1 2012-07-29 15:45:30 tgl Exp $
3 .\" Copyright (c) 2012, Tom Lane <tgl@sss.pgh.pa.us>
5 .\" Permission to use, copy, modify, distribute, and sell this software and
6 .\" its documentation for any purpose is hereby granted without fee, provided
7 .\" that (i) the above copyright notices and this permission notice appear in
8 .\" all copies of the software and related documentation, and (ii) the names of
9 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
10 .\" publicity relating to the software without the specific, prior written
11 .\" permission of Sam Leffler and Silicon Graphics.
13 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
17 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
25 .TH TIFFFieldReadCount 3TIFF "July 26, 2012" "libtiff"
27 TIFFFieldReadCount \- Get number of values to be read from field
29 .B "#include <tiffio.h>"
31 .BI "int TIFFFieldReadCount(const TIFFField* " fip ")"
33 .BR TIFFFieldReadCount
34 returns the number of values available to be read from the specified
35 TIFF field; that is, the number of arguments that should be supplied to
37 For most field types this is a small positive integer, typically 1 or 2,
38 but there are some special values:
41 indicates that a variable number of values is possible; then, a
44 argument and a pointer
46 argument must be supplied to
54 argument must have type
58 indicates that the number of arguments is equal to the image's
59 number of samples per pixel.
62 is a field information pointer previously returned by
64 .BR TIFFFieldWithTag ,
66 .BR TIFFFieldWithName .
70 .BR TIFFFieldReadCount
76 Libtiff library home page:
77 .BR http://www.remotesensing.org/libtiff/