diff options
author | dron <dron> | 2010-05-06 10:01:02 +0000 |
---|---|---|
committer | dron <dron> | 2010-05-06 10:01:02 +0000 |
commit | 4bfc13a9bfee04375cdbe4f9719e2abf0267c199 (patch) | |
tree | c94829f7dd09f5c258b8b00b71bac4bb401af325 /html/man | |
parent | 96b8d012c056f6b8b0119af1f971d592eb76c568 (diff) | |
download | libtiff-4bfc13a9bfee04375cdbe4f9719e2abf0267c199.tar.gz |
Regenerated from the source.
Diffstat (limited to 'html/man')
-rw-r--r-- | html/man/TIFFGetField.3tiff.html | 2665 | ||||
-rw-r--r-- | html/man/TIFFSetField.3tiff.html | 2509 |
2 files changed, 3100 insertions, 2074 deletions
diff --git a/html/man/TIFFGetField.3tiff.html b/html/man/TIFFGetField.3tiff.html index 24bf859e..bd2f78bb 100644 --- a/html/man/TIFFGetField.3tiff.html +++ b/html/man/TIFFGetField.3tiff.html @@ -1,14 +1,25 @@ -<!-- Creator : groff version 1.18.1 --> -<!-- CreationDate: Sat Feb 24 18:37:16 2007 --> +<!-- Creator : groff version 1.20.1 --> +<!-- CreationDate: Thu May 6 13:48:43 2010 --> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <meta name="Content-Style" content="text/css"> +<style type="text/css"> + p { margin-top: 0; margin-bottom: 0; vertical-align: top } + pre { margin-top: 0; margin-bottom: 0; vertical-align: top } + table { margin-top: 0; margin-bottom: 0; vertical-align: top } + h1 { text-align: center } +</style> <title>TIFFGetField</title> + </head> <body> -<h1 align=center>TIFFGetField</h1> +<h1 align="center">TIFFGetField</h1> + <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> @@ -18,56 +29,53 @@ <a href="#SEE ALSO">SEE ALSO</a><br> <hr> + + +<h2>NAME <a name="NAME"></a> -<h2>NAME</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p>TIFFGetField, TIFFVGetField − get the value(s) of a -tag in an open <small>TIFF</small> file</p> -</td> -</table> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">TIFFGetField, +TIFFVGetField − get the value(s) of a tag in an open +<small>TIFF</small> file</p> + +<h2>SYNOPSIS <a name="SYNOPSIS"></a> -<h2>SYNOPSIS</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p><b>#include <tiffio.h></b></p> -<!-- INDENTATION --> -<p><b>int TIFFGetField(TIFF *</b><i>tif</i><b>, ttag_t</b> +</h2> + + +<p style="margin-left:11%; margin-top: 1em"><b>#include +<tiffio.h></b></p> + +<p style="margin-left:11%; margin-top: 1em"><b>int +TIFFGetField(TIFF *</b><i>tif</i><b>, ttag_t</b> <i>tag</i><b>,</b> <i>...</i><b>)</b></p> -<!-- INDENTATION --> -<p><b>#include <stdarg.h></b></p> -<!-- INDENTATION --> -<p><b>int TIFFVGetField(TIFF *</b><i>tif</i><b>, ttag_t</b> -<i>tag</i><b>, va_list</b> <i>ap</i><b>)<br> + +<p style="margin-left:11%; margin-top: 1em"><b>#include +<stdarg.h></b></p> + +<p style="margin-left:11%; margin-top: 1em"><b>int +TIFFVGetField(TIFF *</b><i>tif</i><b>, ttag_t</b> +<i>tag</i><b>, va_list</b> <i>ap</i><b>) <br> int TIFFGetFieldDefaulted(TIFF *</b><i>tif</i><b>, -ttag_t</b> <i>tag</i><b>,</b> <i>...</i><b>)<br> +ttag_t</b> <i>tag</i><b>,</b> <i>...</i><b>) <br> int TIFFVGetFieldDefaulted(TIFF *</b><i>tif</i><b>, ttag_t</b> <i>tag</i><b>, va_list</b> <i>ap</i><b>)</b></p> -</td> -</table> + +<h2>DESCRIPTION <a name="DESCRIPTION"></a> -<h2>DESCRIPTION</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p><i>TIFFGetField</i> returns the value of a tag or -pseudo-tag associated with the the current directory of the -opened <small>TIFF</small> file <i>tif</i>. (A -<i>pseudo-tag</i> is a parameter that is used to control the -operation of the <small>TIFF</small> library but whose value -is not read or written to the underlying file.) The file -must have been previously opened with +</h2> + + + +<p style="margin-left:11%; margin-top: 1em"><b><i>TIFFGetField</i></b> +returns the value of a tag or pseudo-tag associated with the +the current directory of the opened <small>TIFF</small> file +<i>tif</i>. (A <i>pseudo-tag</i> is a parameter that is used +to control the operation of the <small>TIFF</small> library +but whose value is not read or written to the underlying +file.) The file must have been previously opened with <i>TIFFOpen</i>(3TIFF). The tag is identified by <i>tag</i>, one of the values defined in the include file <b>tiff.h</b> (see also the table below). The type and number of values @@ -76,1371 +84,1886 @@ programming interface uses a variable argument list as prescribed by the <i>stdarg</i>(3) interface. The returned values should only be interpreted if <i>TIFFGetField</i> returns 1.</p> -<!-- INDENTATION --> -<p><i>TIFFVGetField</i> is functionally equivalent to -<i>TIFFGetField</i> except that it takes a pointer to a -variable argument list. <i>TIFFVGetField</i> is useful for -layering interfaces on top of the functionality provided by + + +<p style="margin-left:11%; margin-top: 1em"><i>TIFFVGetField</i> +is functionally equivalent to <i>TIFFGetField</i> except +that it takes a pointer to a variable argument list. +<i>TIFFVGetField</i> is useful for layering interfaces on +top of the functionality provided by <i>TIFFGetField</i>.</p> -<!-- INDENTATION --> -<p><i>TIFFGetFieldDefaulted</i> and -<i>TIFFVGetFieldDefaulted</i> are identical to + + +<p style="margin-left:11%; margin-top: 1em"><i>TIFFGetFieldDefaulted</i> +and <i>TIFFVGetFieldDefaulted</i> are identical to <i>TIFFGetField</i> and <i>TIFFVGetField</i>, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.</p> -<!-- INDENTATION --> -<p>The tags understood by <i>libtiff(3TIFF),</i> the number -of parameter values, and the types for the returned values -are shown below. The data types are specified as in C and -correspond to the types used to specify tag values to + +<p style="margin-left:11%; margin-top: 1em">The tags +understood by <i>libtiff(3TIFF),</i> the number of parameter +values, and the types for the returned values are shown +below. The data types are specified as in C and correspond +to the types used to specify tag values to <i>TIFFSetField</i>(3TIFF). Remember that <i>TIFFGetField</i> returns parameter values, so all the listed data types are pointers to storage where values should be returned. Consult the <small>TIFF</small> specification (or relevant industry specification) for information on the meaning of each tag and their possible -values.</p></td> -</table> -<!-- TABS --> +values.</p> -<p><i>Tag Name Count Types Notes</i></p> -<!-- TABS --> -<table width="100%" border=0 rules="none" frame="void" - cols="5" cellspacing="0" cellpadding="0"> +<table width="100%" border="0" rules="none" frame="void" + cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_ARTIST</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p><i>Tag Name</i></p></td> +<td width="11%"></td> +<td width="28%"> -<p>char**</p> -</td> -<td width="17%"> -</td> + +<p><i>Count</i></p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_BADFAXLINES</p> -</td> -<td width="8%"> +<p><i>Types</i></p></td> +<td width="12%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> +<p><i>Notes</i></p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_BITSPERSAMPLE</p> -</td> -<td width="8%"> +<p>TIFFTAG_ARTIST</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>char**</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_CLEANFAXDATA</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>TIFFTAG_BADFAXLINES</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint32*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_BITSPERSAMPLE</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_COLORMAP</p> -</td> -<td width="8%"> -<p>3</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>uint16**</p> -</td> -<td width="17%"> -<p>1<<BitsPerSample arrays</p> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_CLEANFAXDATA</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_COMPRESSION</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_CONSECUTIVEBADFAXLINES</p> -</td> -<td width="8%"> +<p>TIFFTAG_COLORMAP</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> +<p>3</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_COPYRIGHT</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>uint16**</p></td> +<td width="12%"> -<p>char**</p> -</td> -<td width="17%"> -</td> + +<p>1<<BitsPerSample arrays</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_COMPRESSION</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_DATATYPE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_DATETIME</p> -</td> -<td width="8%"> +<p>TIFFTAG_CONSECUTIVEBADFAXLINES</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>char**</p> -</td> -<td width="17%"> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_DOCUMENTNAME</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>uint32*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_COPYRIGHT</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>char**</p> -</td> -<td width="17%"> -</td> + +<p>char**</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_DATATYPE</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_DOTRANGE</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_EXTRASAMPLES</p> -</td> -<td width="8%"> +<p>TIFFTAG_DATETIME</p></td> +<td width="11%"></td> +<td width="28%"> -<p>2</p> -</td> -<td width="23%"> -<p>uint16*,uint16**</p> -</td> -<td width="17%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>count & types array</p> -</td> +<p>char**</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_FAXFILLFUNC</p> -</td> -<td width="8%"> +<p>TIFFTAG_DOCUMENTNAME</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>TIFFFaxFillFunc*</p> -</td> -<td width="17%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>G3/G4 compression pseudo-tag</p> -</td> +<p>char**</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_FAXMODE</p> -</td> -<td width="8%"> +<p>TIFFTAG_DOTRANGE</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>int*</p> -</td> -<td width="17%"> +<p>2</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>G3/G4 compression pseudo-tag</p> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_FILLORDER</p> -</td> -<td width="8%"> +<p>TIFFTAG_EXTRASAMPLES</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>2</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_GROUP3OPTIONS</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>uint16*,uint16**</p></td> +<td width="12%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> + +<p>count & types array</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_GROUP4OPTIONS</p> -</td> -<td width="8%"> +<p>TIFFTAG_FAXFILLFUNC</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_HALFTONEHINTS</p> -</td> -<td width="8%"> +<p>TIFFFaxFillFunc*</p></td> +<td width="12%"> -<p>2</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>G3/G4 compression pseudo-tag</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_HOSTCOMPUTER</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>TIFFTAG_FAXMODE</p></td> +<td width="11%"></td> +<td width="28%"> -<p>char**</p> -</td> -<td width="17%"> -</td> + +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_ICCPROFILE</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="23%"> +<p>int*</p></td> +<td width="12%"> -<p>uint32*,void**</p> -</td> -<td width="17%"> -<p>count, profile data</p> -</td> +<p>G3/G4 compression pseudo-tag</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_FILLORDER</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_IMAGEDEPTH</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>uint32*</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_IMAGEDESCRIPTION</p> -</td> -<td width="8%"> +<p>TIFFTAG_GROUP3OPTIONS</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>char**</p> -</td> -<td width="17%"> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_IMAGELENGTH</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>uint32*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_GROUP4OPTIONS</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> + +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_IMAGEWIDTH</p> -</td> -<td width="8%"> +<p>uint32*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> +<p>TIFFTAG_HALFTONEHINTS</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>2</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_INKNAMES</p> -</td> -<td width="8%"> +<p>TIFFTAG_HOSTCOMPUTER</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>char**</p> -</td> -<td width="17%"> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_INKSET</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>char**</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_ICCPROFILE</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> + +<p>2</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_JPEGCOLORMODE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>uint32*,void**</p></td> +<td width="12%"> -<p>int*</p> -</td> -<td width="17%"> -<p>JPEG pseudo-tag</p> -</td> +<p>count, profile data</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_JPEGQUALITY</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>TIFFTAG_IMAGEDEPTH</p></td> +<td width="11%"></td> +<td width="28%"> -<p>int*</p> -</td> -<td width="17%"> -<p>JPEG pseudo-tag</p> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_JPEGTABLES</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="23%"> +<p>uint32*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> -<p>uint32*,void**</p> -</td> -<td width="17%"> -<p>count & tables</p> -</td> +<p>TIFFTAG_IMAGEDESCRIPTION</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>char**</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_JPEGTABLESMODE</p> -</td> -<td width="8%"> +<p>TIFFTAG_IMAGELENGTH</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>int*</p> -</td> -<td width="17%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>JPEG pseudo-tag</p> -</td> +<p>uint32*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_MAKE</p> -</td> -<td width="8%"> +<p>TIFFTAG_IMAGEWIDTH</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>char**</p> -</td> -<td width="17%"> -</td> +<p>uint32*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_MATTEING</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>TIFFTAG_INKNAMES</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>char**</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_INKSET</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_MAXSAMPLEVALUE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_MINSAMPLEVALUE</p> -</td> -<td width="8%"> +<p>TIFFTAG_JPEGCOLORMODE</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_MODEL</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>int*</p></td> +<td width="12%"> -<p>char**</p> -</td> -<td width="17%"> -</td> + +<p>JPEG pseudo-tag</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_ORIENTATION</p> -</td> -<td width="8%"> +<p>TIFFTAG_JPEGQUALITY</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_PAGENAME</p> -</td> -<td width="8%"> +<p>int*</p></td> +<td width="12%"> -<p>1</p> -</td> -<td width="23%"> -<p>char**</p> -</td> -<td width="17%"> -</td> +<p>JPEG pseudo-tag</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_PAGENUMBER</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="23%"> +<p>TIFFTAG_JPEGTABLES</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> + +<p>2</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_PHOTOMETRIC</p> -</td> -<td width="8%"> +<p>uint32*,void**</p></td> +<td width="12%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>count & tables</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_PHOTOSHOP</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="23%"> +<p>TIFFTAG_JPEGTABLESMODE</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint32*,void**</p> -</td> -<td width="17%"> -<p>count, data</p> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_PLANARCONFIG</p> -</td> -<td width="8%"> +<p>int*</p></td> +<td width="12%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>JPEG pseudo-tag</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_MAKE</p></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_PREDICTOR</p> -</td> -<td width="8%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>char**</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_MATTEING</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_PRIMARYCHROMATICITIES</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>float**</p> -</td> -<td width="17%"> -<p>6-entry array</p> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_REFERENCEBLACKWHITE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>TIFFTAG_MAXSAMPLEVALUE</p></td> +<td width="11%"></td> +<td width="28%"> -<p>float**</p> -</td> -<td width="17%"> -<p>2*SamplesPerPixel array</p> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_RESOLUTIONUNIT</p> -</td> -<td width="8%"> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>TIFFTAG_MINSAMPLEVALUE</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_RICHTIFFIPTC</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="23%"> +<p>TIFFTAG_MODEL</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint32*,void**</p> -</td> -<td width="17%"> -<p>count, data</p> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>char**</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_ORIENTATION</p></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_ROWSPERSTRIP</p> -</td> -<td width="8%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_PAGENAME</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_SAMPLEFORMAT</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>char**</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_SAMPLESPERPIXEL</p> -</td> -<td width="8%"> +<p>TIFFTAG_PAGENUMBER</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>2</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint16*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_PHOTOMETRIC</p></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_SMAXSAMPLEVALUE</p> -</td> -<td width="8%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>double*</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_SMINSAMPLEVALUE</p> -</td> -<td width="8%"> +<p>TIFFTAG_PHOTOSHOP</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>double*</p> -</td> -<td width="17%"> -</td> +<p>2</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_SOFTWARE</p> -</td> -<td width="8%"> +<p>uint32*,void**</p></td> +<td width="12%"> -<p>1</p> -</td> -<td width="23%"> -<p>char**</p> -</td> -<td width="17%"> -</td> +<p>count, data</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_PLANARCONFIG</p></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_STONITS</p> -</td> -<td width="8%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>double**</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_PREDICTOR</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_STRIPBYTECOUNTS</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>uint32**</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_STRIPOFFSETS</p> -</td> -<td width="8%"> +<p>TIFFTAG_PRIMARYCHROMATICITIES</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint32**</p> -</td> -<td width="17%"> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_SUBFILETYPE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>float**</p></td> +<td width="12%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> + +<p>6-entry array</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_SUBIFD</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="23%"> +<p>TIFFTAG_REFERENCEBLACKWHITE</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint16*,uint32**</p> -</td> -<td width="17%"> -<p>count & offsets array</p> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_TARGETPRINTER</p> -</td> -<td width="8%"> +<p>float**</p></td> +<td width="12%"> -<p>1</p> -</td> -<td width="23%"> -<p>char**</p> -</td> -<td width="17%"> -</td> +<p>6-entry array</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_THRESHHOLDING</p> -</td> -<td width="8%"> +<p>TIFFTAG_RESOLUTIONUNIT</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_TILEBYTECOUNTS</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>TIFFTAG_RICHTIFFIPTC</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint32**</p> -</td> -<td width="17%"> -</td> + +<p>2</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>TIFFTAG_TILEDEPTH</p> -</td> -<td width="8%"> +<p>uint32*,void**</p></td> +<td width="12%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> +<p>count, data</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_TILELENGTH</p> -</td> -<td width="8%"> +<p>TIFFTAG_ROWSPERSTRIP</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> +<p>uint32*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_TILEOFFSETS</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>TIFFTAG_SAMPLEFORMAT</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint32**</p> -</td> -<td width="17%"> -</td> + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_TILEWIDTH</p> -</td> -<td width="8%"> +<p>TIFFTAG_SAMPLESPERPIXEL</p></td> +<td width="11%"></td> +<td width="28%"> -<p>1</p> -</td> -<td width="23%"> -<p>uint32*</p> -</td> -<td width="17%"> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_TRANSFERFUNCTION</p> -</td> -<td width="8%"> -<p>1 or 3†</p> -</td> -<td width="23%"></td> -<td width="17%"> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> -<p>uint16**1<<BitsPerSample entry arrays</p> -</td> + +<p>TIFFTAG_SMAXSAMPLEVALUE</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_WHITEPOINT</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>double*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + -<p>float**</p> -</td> -<td width="17%"> +<p>TIFFTAG_SMINSAMPLEVALUE</p></td> +<td width="11%"></td> +<td width="28%"> -<p>2-entry array</p> -</td> + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>double*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_SOFTWARE</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>char**</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_STONITS</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>double**</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_STRIPBYTECOUNTS</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint32**</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_STRIPOFFSETS</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint32**</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_SUBFILETYPE</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint32*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_SUBIFD</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>2</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint16*,uint32**</p></td> +<td width="12%"> + + +<p>count & offsets array</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TARGETPRINTER</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>char**</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_THRESHHOLDING</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint16*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TILEBYTECOUNTS</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint32**</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TILEDEPTH</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint32*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TILELENGTH</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint32*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_XMLPACKET</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="23%"> +<p>TIFFTAG_TILEOFFSETS</p></td> +<td width="11%"></td> +<td width="28%"> -<p>uint32*,void**</p> -</td> -<td width="17%"> -<p>count, data</p> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_XPOSITION</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>uint32**</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TILEWIDTH</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint32*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TRANSFERFUNCTION</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1 or 3†</p></td> +<td width="12%"> + + +<p>uint16**1<<BitsPerSample entry arrays</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_WHITEPOINT</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>float**</p></td> +<td width="12%"> + + +<p>2-entry array</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_XMLPACKET</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>2</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>uint32*,void**</p></td> +<td width="12%"> + + +<p>count, data</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_XPOSITION</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>float*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_XRESOLUTION</p></td> +<td width="11%"></td> +<td width="28%"> + -<p>float*</p> -</td> -<td width="17%"> -</td> +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_XRESOLUTION</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>float*</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_YCBCRCOEFFICIENTS</p></td> +<td width="11%"></td> +<td width="28%"> -<p>float*</p> -</td> -<td width="17%"> -</td> + +<p>1</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_YCBCRCOEFFICIENTS</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>float**</p></td> +<td width="12%"> -<p>float**</p> -</td> -<td width="17%"> -<p>3-entry array</p> -</td> +<p>3-entry array</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_YCBCRPOSITIONING</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_YCBCRPOSITIONING</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_YCBCRSUBSAMPLING</p> -</td> -<td width="8%"> +<p>TIFFTAG_YCBCRSUBSAMPLING</p></td> +<td width="11%"></td> +<td width="28%"> + + +<p>2</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> -<p>2</p> -</td> -<td width="23%"> -<p>uint16*</p> -</td> -<td width="17%"> -</td> +<p>uint16*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_YPOSITION</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>TIFFTAG_YPOSITION</p></td> +<td width="11%"></td> +<td width="28%"> -<p>float*</p> -</td> -<td width="17%"> -</td> + +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + + +<p>float*</p></td> +<td width="12%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_YRESOLUTION</p></td> +<td width="11%"></td> +<td width="28%"> -<p>TIFFTAG_YRESOLUTION</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="23%"> +<p>1</p></td> +<td width="12%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="28%"> + -<p>float*‡</p> -</td> -<td width="17%"> -</td> +<p>float*‡</p></td> +<td width="12%"> +</td></tr> </table> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p>† If <i>SamplesPerPixel</i> is one, then a single -array is returned; otherwise three arrays are returned.<br> + +<p style="margin-left:11%;">† If +<i>SamplesPerPixel</i> is one, then a single array is +returned; otherwise three arrays are returned. <br> ‡ The contents of this field are quite complex. See <i>The ICC Profile Format Specification</i>, Annex B.3 "Embedding ICC Profiles in TIFF Files" (available at http://www.color.org) for an explanation.</p> -</td> -</table> + +<h2>AUTOREGISTERED TAGS <a name="AUTOREGISTERED TAGS"></a> -<h2>AUTOREGISTERED TAGS</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p>If you can’t find the tag in the table above that -means this is unsupported tag. But you still be able to read -it’s value if you know the data type of that tag. For -example, if you want to read the LONG value from the tag -33424 and ASCII string from the tag 36867 you can use the -following code:</p> -</td> -</table> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="17%"></td> -<td width="82%"> -<pre>uint16 count; -void *data; - -TIFFGetField(tiff, 33424, &count, &data); -printf("Tag %d: %d, count %d0, 33424, *(uint32 *)data, count); -TIFFGetField(tiff, 36867, &count, &data); -printf("Tag %d: %s, count %d0, 36867, (char *)data, count); -</pre> -</td> -</table> -<!-- INDENTATION --> +</h2> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p>is not supported by <b>libtiff(3TIFF),</b> library</p> -</td> -</table> + +<p style="margin-left:11%; margin-top: 1em">If you +can’t find the tag in the table above that means this +is unsupported tag. But you still be able to read it’s +value if you know the data type of that tag. For example, if +you want to read the LONG value from the tag 33424 and ASCII +string from the tag 36867 you can use the following +code:</p> + +<p style="margin-left:22%; margin-top: 1em">uint16 count; +<br> +void *data;</p> + + +<p style="margin-left:22%; margin-top: 1em">TIFFGetField(tiff, +33424, &count, &data); <br> +printf("Tag %d: %d, count %d0, 33424, *(uint32 *)data, +count); <br> +TIFFGetField(tiff, 36867, &count, &data); <br> +printf("Tag %d: %s, count %d0, 36867, (char *)data, +count);</p> + +<p style="margin-left:11%; margin-top: 1em">is not +supported by <b>libtiff(3TIFF),</b> library</p> + +<h2>RETURN VALUES <a name="RETURN VALUES"></a> -<h2>RETURN VALUES</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p>1 is returned if the tag is defined in the current -directory; otherwise a 0 is returned.</p> -</td> -</table> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">1 is returned +if the tag is defined in the current directory; otherwise a +0 is returned.</p> + +<h2>DIAGNOSTICS <a name="DIAGNOSTICS"></a> -<h2>DIAGNOSTICS</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p>All error messages are directed to the -<b>TIFFError</b>(3TIFF) routine.</p> -<!-- INDENTATION --> -<p><b>Unknown field, tag 0x%x</b>. An unknown tag was -supplied.</p> -</td> -</table> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">All error +messages are directed to the <b>TIFFError</b>(3TIFF) +routine.</p> + +<p style="margin-left:11%; margin-top: 1em"><b>Unknown +field, tag 0x%x</b>. An unknown tag was supplied.</p> + +<h2>SEE ALSO <a name="SEE ALSO"></a> -<h2>SEE ALSO</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p><b>TIFFOpen</b>(3TIFF), <b>TIFFSetField</b>(3TIFF), -<b>TIFFSetDirectory</b>(3TIFF), +</h2> + + + +<p style="margin-left:11%; margin-top: 1em"><b>TIFFOpen</b>(3TIFF), +<b>TIFFSetField</b>(3TIFF), <b>TIFFSetDirectory</b>(3TIFF), <b>TIFFReadDirectory</b>(3TIFF), <b>TIFFWriteDirectory</b>(3TIFF) <b>libtiff</b>(3TIFF),</p> -<!-- INDENTATION --> -<p>Libtiff library home page: -<b>http://www.remotesensing.org/libtiff/</b></p> -</td> -</table> + +<p style="margin-left:11%; margin-top: 1em">Libtiff library +home page: <b>http://www.remotesensing.org/libtiff/</b></p> <hr> </body> </html> diff --git a/html/man/TIFFSetField.3tiff.html b/html/man/TIFFSetField.3tiff.html index 5aa845a4..f160fedd 100644 --- a/html/man/TIFFSetField.3tiff.html +++ b/html/man/TIFFSetField.3tiff.html @@ -1,14 +1,25 @@ -<!-- Creator : groff version 1.18.1 --> -<!-- CreationDate: Sat Feb 24 18:37:17 2007 --> +<!-- Creator : groff version 1.20.1 --> +<!-- CreationDate: Thu May 6 13:48:46 2010 --> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <meta name="Content-Style" content="text/css"> +<style type="text/css"> + p { margin-top: 0; margin-bottom: 0; vertical-align: top } + pre { margin-top: 0; margin-bottom: 0; vertical-align: top } + table { margin-top: 0; margin-bottom: 0; vertical-align: top } + h1 { text-align: center } +</style> <title>TIFFSetField</title> + </head> <body> -<h1 align=center>TIFFSetField</h1> +<h1 align="center">TIFFSetField</h1> + <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> @@ -17,1346 +28,1838 @@ <a href="#SEE ALSO">SEE ALSO</a><br> <hr> + + +<h2>NAME <a name="NAME"></a> -<h2>NAME</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p>TIFFSetField, TIFFVSetField − set the value(s) of a -tag in a <small>TIFF</small> file open for writing</p> -</td> -</table> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">TIFFSetField, +TIFFVSetField − set the value(s) of a tag in a +<small>TIFF</small> file open for writing</p> + +<h2>SYNOPSIS <a name="SYNOPSIS"></a> -<h2>SYNOPSIS</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p><b>#include <tiffio.h></b></p> -<!-- INDENTATION --> -<p><b>int TIFFSetField(TIFF *</b><i>tif</i><b>, ttag_t</b> +</h2> + + +<p style="margin-left:11%; margin-top: 1em"><b>#include +<tiffio.h></b></p> + +<p style="margin-left:11%; margin-top: 1em"><b>int +TIFFSetField(TIFF *</b><i>tif</i><b>, ttag_t</b> <i>tag</i><b>,</b> <i>...</i><b>)</b></p> -<!-- INDENTATION --> -<p><b>#include <stdarg.h></b></p> -<!-- INDENTATION --> -<p><b>int TIFFVSetField(TIFF *</b><i>tif</i><b>, ttag_t</b> + +<p style="margin-left:11%; margin-top: 1em"><b>#include +<stdarg.h></b></p> + +<p style="margin-left:11%; margin-top: 1em"><b>int +TIFFVSetField(TIFF *</b><i>tif</i><b>, ttag_t</b> <i>tag</i><b>, va_list</b> <i>ap</i><b>)</b></p> -</td> -</table> + +<h2>DESCRIPTION <a name="DESCRIPTION"></a> -<h2>DESCRIPTION</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p><i>TIFFSetField</i> sets the value of a field or -pseudo-tag in the current directory associated with the open -<small>TIFF</small> file <i>tif</i>. (A <i>pseudo-tag</i> is -a parameter that is used to control the operation of the -<small>TIFF</small> library but whose value is not read or -written to the underlying file.) To set the value of a field -the file must have been previously opened for writing with -<i>TIFFOpen</i>(3TIFF); pseudo-tags can be set whether the -file was opened for reading or writing. The field is -identified by <i>tag</i>, one of the values defined in the -include file <b>tiff.h</b> (see also the table below). The -actual value is specified using a variable argument list, as -prescribed by the <i>stdarg</i>(3) interface (or, on some -machines, the <i>varargs</i>(3) interface.)</p> -<!-- INDENTATION --> -<p><i>TIFFVSetField</i> is functionally equivalent to -<i>TIFFSetField</i> except that it takes a pointer to a -variable argument list. <i>TIFFVSetField</i> is useful for -writing routines that are layered on top of the -functionality provided by <i>TIFFSetField</i>.</p> -<!-- INDENTATION --> -<p>The tags understood by <i>libtiff</i>, the number of -parameter values, and the expected types for the parameter -values are shown below. The data types are: <i>char*</i> is +</h2> + + + +<p style="margin-left:11%; margin-top: 1em"><b><i>TIFFSetField</i></b> +sets the value of a field or pseudo-tag in the current +directory associated with the open <small>TIFF</small> file +<i>tif</i>. (A <i>pseudo-tag</i> is a parameter that is used +to control the operation of the <small>TIFF</small> library +but whose value is not read or written to the underlying +file.) To set the value of a field the file must have been +previously opened for writing with <i>TIFFOpen</i>(3TIFF); +pseudo-tags can be set whether the file was opened for +reading or writing. The field is identified by <i>tag</i>, +one of the values defined in the include file <b>tiff.h</b> +(see also the table below). The actual value is specified +using a variable argument list, as prescribed by the +<i>stdarg</i>(3) interface (or, on some machines, the +<i>varargs</i>(3) interface.)</p> + + +<p style="margin-left:11%; margin-top: 1em"><i>TIFFVSetField</i> +is functionally equivalent to <i>TIFFSetField</i> except +that it takes a pointer to a variable argument list. +<i>TIFFVSetField</i> is useful for writing routines that are +layered on top of the functionality provided by +<i>TIFFSetField</i>.</p> + +<p style="margin-left:11%; margin-top: 1em">The tags +understood by <i>libtiff</i>, the number of parameter +values, and the expected types for the parameter values are +shown below. The data types are: <i>char*</i> is null-terminated string and corresponds to the <small>ASCII</small> data type; <i>uint16</i> is an unsigned 16-bit value; <i>uint32</i> is an unsigned 32-bit value; <i>uint16*</i> is an array of unsigned 16-bit values. <i>void*</i> is an array of data values of unspecified type.</p> -<!-- INDENTATION --> -<p>Consult the <small>TIFF</small> specification for -information on the meaning of each tag.</p></td> -</table> -<!-- TABS --> -<p><i>Tag Name Count Types Notes</i></p> -<!-- TABS --> -<table width="100%" border=0 rules="none" frame="void" - cols="5" cellspacing="0" cellpadding="0"> +<p style="margin-left:11%; margin-top: 1em">Consult the +<small>TIFF</small> specification for information on the +meaning of each tag.</p> + +<table width="100%" border="0" rules="none" frame="void" + cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_ARTIST</p> -</td> -<td width="8%"> +<p><i>Tag Name</i></p></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>char*</p> -</td> -<td width="16%"> -</td> +<p><i>Count</i></p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_BADFAXLINES</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p><i>Types</i></p></td> +<td width="11%"> -<p>uint32</p> -</td> -<td width="16%"> -</td> + +<p><i>Notes</i></p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_BITSPERSAMPLE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_ARTIST</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>char*</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_CLEANFAXDATA</p> -</td> -<td width="8%"> +<p>TIFFTAG_BADFAXLINES</p></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>uint16</p> -</td> -<td width="16%"> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_COLORMAP</p> -</td> -<td width="8%"> -<p>3</p> -</td> -<td width="24%"> +<p>uint32</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_BITSPERSAMPLE</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint16*</p> -</td> -<td width="16%"> -<p>1<<BitsPerSample arrays</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_COMPRESSION</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint16</p></td> +<td width="11%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_CLEANFAXDATA</p></td> +<td width="11%"></td> +<td width="29%"> + -<p>TIFFTAG_CONSECUTIVEBADFAXLINES</p> -</td> -<td width="8%"> +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>uint32</p> -</td> -<td width="16%"> -</td> +<p>uint16</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_COPYRIGHT</p> -</td> -<td width="8%"> +<p>TIFFTAG_COLORMAP</p></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>char*</p> -</td> -<td width="16%"> -</td> +<p>3</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + -<p>TIFFTAG_DATETIME</p> -</td> -<td width="8%"> +<p>uint16*</p></td> +<td width="11%"> -<p>1</p> -</td> -<td width="24%"> -<p>char*</p> -</td> -<td width="16%"> -</td> +<p>1<<BitsPerSample arrays</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_DOCUMENTNAME</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_COMPRESSION</p></td> +<td width="11%"></td> +<td width="29%"> -<p>char*</p> -</td> -<td width="16%"> -</td> + +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + -<p>TIFFTAG_DOTRANGE</p> -</td> -<td width="8%"> +<p>uint16</p></td> +<td width="11%"> -<p>2</p> -</td> -<td width="24%"> -<p>uint16</p> -</td> -<td width="16%"> -</td> +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_EXTRASAMPLES</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="24%"> +<p>TIFFTAG_CONSECUTIVEBADFAXLINES</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint16,uint16*</p> -</td> -<td width="16%"> -<p>† count & types array</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_FAXFILLFUNC</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint32</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFFaxFillFunc</p> -</td> -<td width="16%"> -<p>G3/G4 compression pseudo-tag</p> -</td> +<p>TIFFTAG_COPYRIGHT</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>char*</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_FAXMODE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_DATETIME</p></td> +<td width="11%"></td> +<td width="29%"> -<p>int</p> -</td> -<td width="16%"> -<p>† G3/G4 compression pseudo-tag</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_FILLORDER</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>char*</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_DOCUMENTNAME</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>char*</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_GROUP3OPTIONS</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_DOTRANGE</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint32</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>2</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_GROUP4OPTIONS</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint16</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_EXTRASAMPLES</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint32</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>2</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_HALFTONEHINTS</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="24%"> +<p>uint16,uint16*</p></td> +<td width="11%"> -<p>uint16</p> -</td> -<td width="16%"> -</td> + +<p>† count & types array</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_HOSTCOMPUTER</p> -</td> -<td width="8%"> +<p>TIFFTAG_FAXFILLFUNC</p></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>char*</p> -</td> -<td width="16%"> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_ICCPROFILE</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="24%"> +<p>TIFFFaxFillFunc</p></td> +<td width="11%"> -<p>uint32,void*</p> -</td> -<td width="16%"> -<p>count, profile data</p> -</td> +<p>G3/G4 compression pseudo-tag</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_IMAGEDEPTH</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_FAXMODE</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint32</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + -<p>TIFFTAG_IMAGEDESCRIPTION</p> -</td> -<td width="8%"> +<p>int</p></td> +<td width="11%"> -<p>1</p> -</td> -<td width="24%"> -<p>char*</p> -</td> -<td width="16%"> -</td> +<p>† G3/G4 compression pseudo-tag</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_IMAGELENGTH</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_FILLORDER</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint32</p> -</td> -<td width="16%"> -</td> + +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_IMAGEWIDTH</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint16</p></td> +<td width="11%"> -<p>uint32</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_INKNAMES</p> -</td> -<td width="8%"> +<p>TIFFTAG_GROUP3OPTIONS</p></td> +<td width="11%"></td> +<td width="29%"> -<p>2</p> -</td> -<td width="24%"> -<p>uint16, char*</p> -</td> -<td width="16%"> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_INKSET</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint32</p></td> +<td width="11%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_JPEGCOLORMODE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_GROUP4OPTIONS</p></td> +<td width="11%"></td> +<td width="29%"> -<p>int</p> -</td> -<td width="16%"> -<p>† JPEG pseudo-tag</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_JPEGQUALITY</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint32</p></td> +<td width="11%"> -<p>int</p> -</td> -<td width="16%"> -<p>JPEG pseudo-tag</p> -</td> +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_JPEGTABLES</p> -</td> -<td width="8%"> +<p>TIFFTAG_HALFTONEHINTS</p></td> +<td width="11%"></td> +<td width="29%"> -<p>2</p> -</td> -<td width="24%"> -<p>uint32*,void*</p> -</td> -<td width="16%"> +<p>2</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + -<p>† count & tables</p> -</td> +<p>uint16</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_JPEGTABLESMODE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_HOSTCOMPUTER</p></td> +<td width="11%"></td> +<td width="29%"> -<p>int</p> -</td> -<td width="16%"> -<p>† JPEG pseudo-tag</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_MAKE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>char*</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> -<p>char*</p> -</td> -<td width="16%"> -</td> + +<p>TIFFTAG_ICCPROFILE</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>2</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_MATTEING</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint32,void*</p></td> +<td width="11%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>count, profile data</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_MAXSAMPLEVALUE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_IMAGEDEPTH</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint16</p> -</td> -<td width="16%"> -</td> + +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + -<p>TIFFTAG_MINSAMPLEVALUE</p> -</td> -<td width="8%"> +<p>uint32</p></td> +<td width="11%"> -<p>1</p> -</td> -<td width="24%"> -<p>uint16</p> -</td> -<td width="16%"> -</td> +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_MODEL</p> -</td> -<td width="8%"> +<p>TIFFTAG_IMAGEDESCRIPTION</p></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>char*</p> -</td> -<td width="16%"> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_ORIENTATION</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>char*</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_IMAGELENGTH</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint16</p> -</td> -<td width="16%"> -</td> + +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_PAGENAME</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint32</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> -<p>char*</p> -</td> -<td width="16%"> -</td> + +<p>TIFFTAG_IMAGEWIDTH</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_PAGENUMBER</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="24%"> +<p>uint32</p></td> +<td width="11%"> -<p>uint16</p> -</td> -<td width="16%"> -</td> + +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_PHOTOMETRIC</p> -</td> -<td width="8%"> +<p>TIFFTAG_INKNAMES</p></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>uint16</p> -</td> -<td width="16%"> -</td> +<p>2</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_PHOTOSHOP</p> -</td> -<td width="8%"> -<p>?</p> -</td> -<td width="24%"> +<p>uint16, char*</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> -<p>uint32,void*</p> -</td> -<td width="16%"> -<p>count, data</p> -</td> +<p>TIFFTAG_INKSET</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_PLANARCONFIG</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint16</p></td> +<td width="11%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_PREDICTOR</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_JPEGCOLORMODE</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_PRIMARYCHROMATICITIES</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>int</p></td> +<td width="11%"> -<p>float*</p> -</td> -<td width="16%"> -<p>6-entry array</p> -</td> +<p>† JPEG pseudo-tag</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_REFERENCEBLACKWHITE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_JPEGQUALITY</p></td> +<td width="11%"></td> +<td width="29%"> -<p>float*</p> -</td> -<td width="16%"> -<p>† 2*SamplesPerPixel array</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + -<p>TIFFTAG_RESOLUTIONUNIT</p> -</td> -<td width="8%"> +<p>int</p></td> +<td width="11%"> -<p>1</p> -</td> -<td width="24%"> -<p>uint16</p> -</td> -<td width="16%"> -</td> +<p>JPEG pseudo-tag</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_RICHTIFFIPTC</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="24%"> +<p>TIFFTAG_JPEGTABLES</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint32,void*</p> -</td> -<td width="16%"> -<p>count, data</p> -</td> +<p>2</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_ROWSPERSTRIP</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint32*,void*</p></td> +<td width="11%"> -<p>uint32</p> -</td> -<td width="16%"> -<p>† must be > 0</p> -</td> +<p>† count & tables</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_SAMPLEFORMAT</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_JPEGTABLESMODE</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_SAMPLESPERPIXEL</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>int</p></td> +<td width="11%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>† value must be <= 4</p> -</td> +<p>† JPEG pseudo-tag</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_MAKE</p></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_SMAXSAMPLEVALUE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + -<p>double</p> -</td> -<td width="16%"> -</td> +<p>char*</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_SMINSAMPLEVALUE</p> -</td> -<td width="8%"> +<p>TIFFTAG_MATTEING</p></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>double</p> -</td> -<td width="16%"> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_SOFTWARE</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint16</p></td> +<td width="11%"> -<p>char*</p> -</td> -<td width="16%"> -</td> + +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_STONITS</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_MAXSAMPLEVALUE</p></td> +<td width="11%"></td> +<td width="29%"> -<p>double</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + -<p>TIFFTAG_SUBFILETYPE</p> -</td> -<td width="8%"> +<p>uint16</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_MINSAMPLEVALUE</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>uint32</p> -</td> -<td width="16%"> -</td> +<p>uint16</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_SUBIFD</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="24%"> +<p>TIFFTAG_MODEL</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint16,uint32*</p> -</td> -<td width="16%"> -<p>count & offsets array</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_TARGETPRINTER</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>char*</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_ORIENTATION</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint16</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_PAGENAME</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>char*</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_PAGENUMBER</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>2</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint16</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_PHOTOMETRIC</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint16</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_PHOTOSHOP</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>?</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint32,void*</p></td> +<td width="11%"> + + +<p>count, data</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_PLANARCONFIG</p></td> +<td width="11%"></td> +<td width="29%"> -<p>char*</p> -</td> -<td width="16%"> -</td> + +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + -<p>TIFFTAG_THRESHHOLDING</p> -</td> -<td width="8%"> +<p>uint16</p></td> +<td width="11%"> -<p>1</p> -</td> -<td width="24%"> -<p>uint16</p> -</td> -<td width="16%"> -</td> +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_TILEDEPTH</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_PREDICTOR</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint32</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_TILELENGTH</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint16</p></td> +<td width="11%"> -<p>uint32</p> -</td> -<td width="16%"> -<p>† must be a multiple of 8</p> -</td> +<p>†</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_TILEWIDTH</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_PRIMARYCHROMATICITIES</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint32</p> -</td> -<td width="16%"> -<p>† must be a multiple of 8</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + -<p>TIFFTAG_TRANSFERFUNCTION</p> -</td> -<td width="8%"> +<p>float*</p></td> +<td width="11%"> -<p>1 or 3‡ uint16*</p> -</td> -<td width="24%"></td> -<td width="16%"> -<p>1<<BitsPerSample entry arrays</p> -</td> +<p>6-entry array</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_WHITEPOINT</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_REFERENCEBLACKWHITE</p></td> +<td width="11%"></td> +<td width="29%"> -<p>float*</p> -</td> -<td width="16%"> -<p>2-entry array</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_XMLPACKET</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="24%"> +<p>float*</p></td> +<td width="11%"> -<p>uint32,void*</p> -</td> -<td width="16%"> -<p>count, data</p> -</td> +<p>† 6-entry array</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_RESOLUTIONUNIT</p></td> +<td width="11%"></td> +<td width="29%"> + -<p>TIFFTAG_XPOSITION</p> -</td> -<td width="8%"> +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>float</p> -</td> -<td width="16%"> -</td> +<p>uint16</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_XRESOLUTION</p> -</td> -<td width="8%"> +<p>TIFFTAG_RICHTIFFIPTC</p></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>float</p> -</td> -<td width="16%"> -</td> +<p>2</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_YCBCRCOEFFICIENTS</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>uint32,void*</p></td> +<td width="11%"> -<p>float*</p> -</td> -<td width="16%"> -<p>† 3-entry array</p> -</td> +<p>count, data</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> -<p>TIFFTAG_YCBCRPOSITIONING</p> -</td> -<td width="8%"> -<p>1</p> -</td> -<td width="24%"> +<p>TIFFTAG_ROWSPERSTRIP</p></td> +<td width="11%"></td> +<td width="29%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> -<p>TIFFTAG_YCBCRSAMPLING</p> -</td> -<td width="8%"> -<p>2</p> -</td> -<td width="24%"> +<p>uint32</p></td> +<td width="11%"> -<p>uint16</p> -</td> -<td width="16%"> -<p>†</p> -</td> +<p>† must be > 0</p></td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"> + -<p>TIFFTAG_YPOSITION</p> -</td> -<td width="8%"> +<p>TIFFTAG_SAMPLEFORMAT</p></td> +<td width="11%"></td> +<td width="29%"> -<p>1</p> -</td> -<td width="24%"> -<p>float</p> -</td> -<td width="16%"> -</td> +<p>1</p></td> +<td width="11%"> +</td></tr> <tr valign="top" align="left"> -<td width="8%"></td> -<td width="41%"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint16</p></td> +<td width="11%"> + -<p>TIFFTAG_YRESOLUTION</p> -</td> -<td width="8%"> +<p>†</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_SAMPLESPERPIXEL</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint16</p></td> +<td width="11%"> + + +<p>† value must be <= 4</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> -<p>1</p> -</td> -<td width="24%"> -<p>float</p> -</td> -<td width="16%"> -</td> +<p>TIFFTAG_SMAXSAMPLEVALUE</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>double</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_SMINSAMPLEVALUE</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>double</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_SOFTWARE</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>char*</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_STONITS</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>double</p></td> +<td width="11%"> + + +<p>†</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_SUBFILETYPE</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint32</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_SUBIFD</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>2</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint16,uint32*</p></td> +<td width="11%"> + + +<p>count & offsets array</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TARGETPRINTER</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>char*</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_THRESHHOLDING</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint16</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TILEDEPTH</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint32</p></td> +<td width="11%"> + + +<p>†</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TILELENGTH</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint32</p></td> +<td width="11%"> + + +<p>† must be a multiple of 8</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TILEWIDTH</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint32</p></td> +<td width="11%"> + + +<p>† must be a multiple of 8</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_TRANSFERFUNCTION</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1 or 3‡ uint16*</p></td> +<td width="11%"> + + +<p>1<<BitsPerSample entry arrays</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_WHITEPOINT</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>float*</p></td> +<td width="11%"> + + +<p>2-entry array</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_XMLPACKET</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>2</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint32,void*</p></td> +<td width="11%"> + + +<p>count, data</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_XPOSITION</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>float</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_XRESOLUTION</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>float</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_YCBCRCOEFFICIENTS</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>float*</p></td> +<td width="11%"> + + +<p>† 3-entry array</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_YCBCRPOSITIONING</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint16</p></td> +<td width="11%"> + + +<p>†</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_YCBCRSAMPLING</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>2</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>uint16</p></td> +<td width="11%"> + + +<p>†</p></td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_YPOSITION</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>float</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"> + + +<p>TIFFTAG_YRESOLUTION</p></td> +<td width="11%"></td> +<td width="29%"> + + +<p>1</p></td> +<td width="11%"> +</td></tr> +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="38%"></td> +<td width="11%"></td> +<td width="29%"> + + +<p>float</p></td> +<td width="11%"> +</td></tr> </table> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p>† Tag may not have its values changed once data is -written.<br> + +<p style="margin-left:11%;">† Tag may not have its +values changed once data is written. <br> ‡ If <i>SamplesPerPixel</i> is one, then a single -array is passed; otherwise three arrays should be -passed.<br> +array is passed; otherwise three arrays should be passed. +<br> * The contents of this field are quite complex. See <b>The ICC Profile Format Specification</b>, Annex B.3 "Embedding ICC Profiles in TIFF Files" (available at http://www.color.org) for an explanation.</p> -</td> -</table> + +<h2>RETURN VALUES <a name="RETURN VALUES"></a> -<h2>RETURN VALUES</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p>1 is returned if the operation was successful. Otherwise, -0 is returned if an error was detected.</p> -</td> -</table> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">1 is returned +if the operation was successful. Otherwise, 0 is returned if +an error was detected.</p> + +<h2>DIAGNOSTICS <a name="DIAGNOSTICS"></a> -<h2>DIAGNOSTICS</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p>All error messages are directed to the -<b>TIFFError</b>(3TIFF) routine.</p> -<!-- INDENTATION --> -<p><b>%s: Cannot modify tag "%s" while -writing</b>. Data has already been written to the file, so -the specified tag’s value can not be changed. This -restriction is applied to all tags that affect the format of -written data.</p> -<!-- INDENTATION --> -<p><b>%d: Bad value for "%s"</b>. An invalid value -was supplied for the named tag.</p> -</td> -</table> +</h2> + + +<p style="margin-left:11%; margin-top: 1em">All error +messages are directed to the <b>TIFFError</b>(3TIFF) +routine.</p> + +<p style="margin-left:11%; margin-top: 1em"><b>%s: Cannot +modify tag "%s" while writing</b>. Data has +already been written to the file, so the specified +tag’s value can not be changed. This restriction is +applied to all tags that affect the format of written +data.</p> + +<p style="margin-left:11%; margin-top: 1em"><b>%d: Bad +value for "%s"</b>. An invalid value was supplied +for the named tag.</p> + +<h2>SEE ALSO <a name="SEE ALSO"></a> -<h2>SEE ALSO</h2> -<!-- INDENTATION --> -<table width="100%" border=0 rules="none" frame="void" - cols="2" cellspacing="0" cellpadding="0"> -<tr valign="top" align="left"> -<td width="8%"></td> -<td width="91%"> -<p><b>TIFFOpen</b>(3TIFF), <b>TIFFGetField</b>(3TIFF), -<b>TIFFSetDirectory</b>(3TIFF), +</h2> + + + +<p style="margin-left:11%; margin-top: 1em"><b>TIFFOpen</b>(3TIFF), +<b>TIFFGetField</b>(3TIFF), <b>TIFFSetDirectory</b>(3TIFF), <b>TIFFWriteDirectory</b>(3TIFF), <b>TIFFReadDirectory</b>(3TIFF), <b>libtiff</b>(3TIFF)</p> -<!-- INDENTATION --> -<p>Libtiff library home page: -<b>http://www.remotesensing.org/libtiff/</b></p> -</td> -</table> + +<p style="margin-left:11%; margin-top: 1em">Libtiff library +home page: <b>http://www.remotesensing.org/libtiff/</b></p> <hr> </body> </html> |