10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<?
Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip 10139N/A laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen lt gt ast 10139N/A<
refentry id="TIFFGetField-3tiff">
10139N/A<
refmeta><
refentrytitle>TIFFGetField</
refentrytitle><
manvolnum>3tiff</
manvolnum>
10139N/A<
refmiscinfo class="date">05 Apr 2004</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man3;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
indexterm><
primary>TIFFGetField</
primary></
indexterm><
indexterm><
primary>
10139N/ATIFFVGetField</
primary></
indexterm><
indexterm><
primary>get the value(s) of
10139N/Aa tag in an open TIFF file</
primary></
indexterm>
10139N/A<
refnamediv id="TIFFGetField-3tiff-name"><
refname>TIFFGetField</
refname><
refname>
10139N/ATIFFVGetField</
refname><
refname>TIFFGetFieldDefaulted</
refname><
refname>TIFFVGetFieldDefaulted<?
Pub Caret>
10139N/A</
refname><
refpurpose>get the value(s) of a tag in an open TIFF file</
refpurpose>
10139N/A<
refsect1 id="TIFFGetField-3tiff-synp"><
title>&synp-tt;</
title>
10139N/Aint TIFFGetField(TIFF* tif, ttag_t tag, ...)
10139N/Aint TIFFVGetField(TIFF* tif, ttag_t tag, va_list ap)
10139N/Aint TIFFGetFieldDefaulted(TIFF* tif, ttag_t tag, ...)
10139N/Aint TIFFVGetFieldDefaulted(TIFF* tif, ttag_t tag, va_list
10139N/A<
refsect1 id="TIFFGetField-3tiff-desc"><
title>&desc-tt;</
title>
10139N/A<
para><
literal>TIFFGetField</
literal> returns the value of a tag or pseudo-tag
10139N/Aassociated with the current directory of the open TIFF file. A pseudo-tag
10139N/Ais a parameter that is used to control the operation of the TIFF library but
10139N/Awhose value is not read or written to the underlying file. The file must have
10139N/Abeen previously opened with <
literal>TIFFOpen(3tiff)</
literal>. The tag is
10139N/Aidentified by <
literal>tag</
literal>, one of the values defined in the include
10139N/Afile <
filename>
tiff.h</
filename> (see also the table below). The type and
10139N/Anumber of values returned is dependent on the tag being requested. The programming
10139N/Ainterface uses a variable argument list as prescribed by the <
literal>stdarg(3)
10139N/A</
literal> interface. The returned values should only be interpreted if <
literal>
10139N/ATIFFGetField</
literal> returns 1.</
para>
10139N/A<
refsect1 id="TIFFGetField-3tiff-exde"><
title>&exde-tt;</
title>
10139N/A<
para><
literal>TIFFVGetField</
literal> is functionally equivalent to <
literal>
10139N/ATIFFGetField</
literal> except that <
literal>TIFFVGetField</
literal> takes
10139N/Aa pointer to a variable argument list. <
literal>TIFFVGetField</
literal> is
10139N/Auseful for layering interfaces on top of the functionality provided by <
literal>
10139N/A<
para><
literal>TIFFGetFieldDefaulted</
literal> and <
literal>TIFFVGetFieldDefaulted
10139N/A</
literal> are identical to <
literal>TIFFGetField</
literal> and <
literal>
10139N/ATIFFVGetField</
literal>, except that if a tag is not defined in the current
10139N/Adirectory and has a default value, then the default value is returned.</
para>
10139N/A<
para>The tags understood by <
literal>libtiff</
literal>, the number of parameter
10139N/Avalues, and the types for the returned values are shown below. The data types
10139N/Aare specified as in C and correspond to the types used to specify tag values
10139N/Ato <
literal>TIFFSetField(3tiff)</
literal>. Remember that <
literal>TIFFGetField
10139N/A</
literal> returns parameter values, so all of the listed data types are pointers
10139N/Ato storage where values should be returned. Consult the TIFF specification
10139N/Afor information on the meaning of each tag and their possible values.</
para>
10139N/A<
tgroup cols="4" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="25*">
10139N/A<
colspec colname="COLSPEC1" colwidth="25*"><
colspec colname="COLSPEC2" colwidth="25*">
10139N/A<
colspec colname="COLSPEC3" colwidth="25*">
10139N/A<
row rowsep="1"><
entry colsep="1" rowsep="1"><
para>TAG NAME</
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>COUNT</
para></
entry><
entry colsep="1" rowsep="1"><
para>
10139N/ATYPES</
para></
entry><
entry colsep="1" rowsep="1"><
para>NOTES</
para></
entry>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_ARTIST</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_BADFAXLINES</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_BITSPERSAMPLE</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_CLEANFAXDATA</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_COLORMAP</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>3</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16**</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para>1<<BitsPerSample
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_COMPRESSION</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_CONSECUTIVEBADFAXLINES
10139N/A</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para>1</
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para><
literal>uint32*</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para></
para></
entry></
row>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_DATATYPE</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_DATETIME</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_DOCUMENTNAME</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_DOTRANGE</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>2</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_EXTRASAMPLES</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>2</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal>,<
literal>uint16**</
literal></
para></
entry><
entry colsep="1" 10139N/Arowsep="1"><
para>count and types array</
para></
entry></
row>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_FAXMODE</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Aint*</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para>
G3/
G4 compression
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_FAXFILLFUNC</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/ATIFFFaxFillFunc*</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para>
10139N/A<
row><
entry colsep="1" rowsep="1"><
para><
literal>TIFFTAG_FILLORDER</
literal></
para></
entry>
10139N/A<
entry colsep="1" rowsep="1"><
para>1</
para></
entry><
entry colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_GROUP3OPTIONS
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_GROUP4OPTIONS
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para><
literal>TIFFTAG_HALFTONEHINTS</
literal></
para></
entry>
10139N/A<
entry colname="COLSPEC1"><
para>2</
para></
entry><
entry colname="COLSPEC2"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_HOSTCOMPUTER
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_IMAGEDEPTH
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_IMAGEDESCRIPTION
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_IMAGELENGTH
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_IMAGEWIDTH
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_INKNAMES
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_INKSET
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para><
literal>TIFFTAG_JPEGTABLES</
literal></
para></
entry>
10139N/A<
entry colname="COLSPEC1"><
para>2</
para></
entry><
entry colname="COLSPEC2"><
para><
literal>
10139N/Au_short*</
literal>,<
literal>void**</
literal></
para></
entry><
entry colname="COLSPEC3"><
para>
10139N/Acount and tables</
para></
entry></
row>
10139N/A<
row><
entry colname="COLSPEC0"><
para><
literal>TIFFTAG_JPEGQUALITY</
literal></
para></
entry>
10139N/A<
entry colname="COLSPEC1"><
para>1</
para></
entry><
entry colname="COLSPEC2"><
para><
literal>
10139N/Aint*</
literal></
para></
entry><
entry colname="COLSPEC3"><
para>JPEG pseudo-tag
10139N/A<
row><
entry colname="COLSPEC0"><
para><
literal>TIFFTAG_JPEGCOLORMODE</
literal></
para></
entry>
10139N/A<
entry colname="COLSPEC1"><
para>1</
para></
entry><
entry colname="COLSPEC2"><
para><
literal>
10139N/Aint*</
literal></
para></
entry><
entry colname="COLSPEC3"><
para>JPEG pseudo-tag
10139N/A<
row><
entry colname="COLSPEC0"><
para><
literal>TIFFTAG_JPEGTABLESMODE</
literal></
para></
entry>
10139N/A<
entry colname="COLSPEC1"><
para>1</
para></
entry><
entry colname="COLSPEC2"><
para><
literal>
10139N/Aint*</
literal></
para></
entry><
entry colname="COLSPEC3"><
para>JPEG pseudo-tag
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_MAKE
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_MATTEING
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_MAXSAMPLEVALUE
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_MINSAMPLEVALUE
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_MODEL
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_ORIENTATION
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_PAGENAME
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_PAGENUMBER
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A2</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_PHOTOMETRIC
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_PLANARCONFIG
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_PREDICTOR
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_PRIMARYCHROMACITIES
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Afloat**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para>
10139N/A6-entry array</
para></
entry></
row>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_REFERENCEBLACKWHITE
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Afloat**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para>
10139N/A2*SamplesPerPixel array</
para></
entry></
row>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_RESOLUTIONUNIT
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_ROWSPERSTRIP
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_SAMPLEFORMAT
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_SAMPLESPERPIXEL
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_SMAXSAMPLEVALUE
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Adouble*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para><
literal>TIFFTAG_SMINSAMPLEVALUE</
literal></
para></
entry>
10139N/A<
entry colname="COLSPEC1"><
para>1</
para></
entry><
entry colname="COLSPEC2"><
para><
literal>
10139N/Adouble*</
literal></
para></
entry><
entry colname="COLSPEC3"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_SOFTWARE
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_STONITS
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Adouble**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_STRIPBYTECOUNTS
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_STRIPOFFSETS
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para><
literal>TIFFTAG_SUBFILETYPE</
literal></
para></
entry>
10139N/A<
entry colname="COLSPEC1"><
para>1</
para></
entry><
entry colname="COLSPEC2"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colname="COLSPEC3"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_SUBIFD
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A2</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal>,<
literal>uint32**</
literal></
para></
entry><
entry colname="COLSPEC3" 10139N/Acolsep="1" rowsep="1"><
para>count and offsets array</
para></
entry></
row>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_TARGETPRINTER
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Achar**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_THRESHOLDING
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_TILEBYTECOUNTS
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_TILEDEPTH
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_TILELENGTH
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_TILEOFFSETS
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_TILEWIDTH
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_TRANSFERFUNCTION
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1 or 3–</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para>
10139N/A1<<BitsPerSample entry arrays</
para></
entry></
row>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_WHITEPOINT
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Afloat**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para>
10139N/A2-entry array</
para></
entry></
row>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_XPOSITION
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Afloat*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_XRESOLUTION
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Afloat*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_YCBCRCOEFFICIENTS
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Afloat**</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para>
10139N/A3-entry array</
para></
entry></
row>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_YCBCRPOSITIONING
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_YCBCRSUBSAMPLING
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A2</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint16*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_YPOSITION
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A1</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Afloat*</
literal></
para></
entry><
entry colname="COLSPEC3" colsep="1" rowsep="1"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para><
literal>TIFFTAG_YRESOLUTION</
literal></
para></
entry>
10139N/A<
entry colname="COLSPEC1"><
para>1</
para></
entry><
entry colname="COLSPEC2"><
para><
literal>
10139N/Afloat*</
literal></
para></
entry><
entry colname="COLSPEC3"><
para></
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0" colsep="1" rowsep="1"><
para><
literal>TIFFTAG_ICCPROFILE
10139N/A</
literal></
para></
entry><
entry colname="COLSPEC1" colsep="1" rowsep="1"><
para>
10139N/A2</
para></
entry><
entry colname="COLSPEC2" colsep="1" rowsep="1"><
para><
literal>
10139N/Auint32*</
literal>,<
literal>void**</
literal></
para></
entry><
entry colname="COLSPEC3" 10139N/Acolsep="1" rowsep="1"><
para>count, profile data=</
para></
entry></
row>
10139N/A<
varlistentry><
term>–</
term><
listitem><
para>If <
literal>SamplesPerPixel
10139N/A</
literal> is 1, then a single array is returned. Otherwise, three arrays
10139N/A<
varlistentry><
term>=</
term><
listitem><
para>The contents of this field are
10139N/Aquite complex. See <
citetitle>The ICC Profile Format Specification, Annex
11933N/AB "Embedding ICC Profiles in TIFF Files"</
citetitle>, available at
10139N/A<
refsect2 id="TIFFGetField-3tiff-exde-diags">
10139N/A<
para>All error messages are directed to the <
literal>TIFFError(3tiff)</
literal>
10139N/A<
varlistentry><
term>Unknown field, tag 0x%x.</
term><
listitem><
para>An unknown
10139N/A<
refsect1 id="TIFFGetField-3tiff-rtrn"><
title>&rtrn-tt;</
title>
10139N/A<
para>1 is returned if the tag is defined in the current directory. Otherwise,
10139N/A<
refsect1 id="TIFFGetField-3tiff-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry><
para>Availability</
para></
entry><
entry><
para>SUNWTiff</
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Evolving</
para></
entry></
row>
10139N/A<
refsect1 id="TIFFGetField-3tiff-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 10139N/A<
para><
citerefentry><
refentrytitle>libtiff</
refentrytitle><
manvolnum>3</
manvolnum>
10139N/A</
citerefentry>, <
citerefentry><
refentrytitle>TIFFOpen</
refentrytitle><
manvolnum>
10139N/A3tiff</
manvolnum></
citerefentry>, <
citerefentry><
refentrytitle>TIFFSetField
10139N/A</
refentrytitle><
manvolnum>3tiff</
manvolnum></
citerefentry>, <
citerefentry>
10139N/A<
refentrytitle>TIFFSetDirectory</
refentrytitle><
manvolnum>3tiff</
manvolnum>
10139N/A</
citerefentry>, <
citerefentry><
refentrytitle>TIFFReadDirectory</
refentrytitle>
10139N/A<
manvolnum>3tiff</
manvolnum></
citerefentry>, <
citerefentry><
refentrytitle>
10139N/ATIFFWriteDirectory</
refentrytitle><
manvolnum>3tiff</
manvolnum></
citerefentry></
para>
10139N/A<
refsect1 id="TIFFGetField-3tiff-note"><
title>¬e-tt;</
title>
10139N/A<
para>This man page was originally written by Sam Leffler. Updated by Breda
10139N/AMcColgan, Sun Microsystems Inc., 2004.</
para>