2002-10-07 09:47:36 -04:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta name="generator" content="groff -Thtml, see www.gnu.org">
|
|
|
|
<meta name="Content-Style" content="text/css">
|
|
|
|
<title>TIFFDataWidth</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h1 align=center>TIFFDataWidth</h1>
|
|
|
|
<a href="#NAME">NAME</a><br>
|
|
|
|
<a href="#SYNOPSIS">SYNOPSIS</a><br>
|
|
|
|
<a href="#DESCRIPTION">DESCRIPTION</a><br>
|
|
|
|
<a href="#RETURN VALUES">RETURN VALUES</a><br>
|
|
|
|
<a href="#SEE ALSO">SEE ALSO</a><br>
|
|
|
|
|
|
|
|
<hr>
|
2003-06-30 14:22:28 -04:00
|
|
|
<!-- Creator : groff version 1.17.2 -->
|
|
|
|
<!-- CreationDate: Mon Jun 30 22:24:21 2003 -->
|
2002-10-07 09:47:36 -04:00
|
|
|
<a name="NAME"></a>
|
|
|
|
<h2>NAME</h2>
|
2003-06-30 14:22:28 -04:00
|
|
|
<table width="100%" border=0 rules="none" frame="void"
|
2002-10-07 09:47:36 -04:00
|
|
|
cols="2" cellspacing="0" cellpadding="0">
|
|
|
|
<tr valign="top" align="left">
|
2003-06-30 14:22:28 -04:00
|
|
|
<td width="10%"></td><td width="90%">
|
|
|
|
TIFFDataWidth - Get the size of TIFF data types</td></table>
|
2002-10-07 09:47:36 -04:00
|
|
|
<a name="SYNOPSIS"></a>
|
|
|
|
<h2>SYNOPSIS</h2>
|
2003-06-30 14:22:28 -04:00
|
|
|
|
|
|
|
<table width="100%" border=0 rules="none" frame="void"
|
2002-10-07 09:47:36 -04:00
|
|
|
cols="2" cellspacing="0" cellpadding="0">
|
|
|
|
<tr valign="top" align="left">
|
2003-06-30 14:22:28 -04:00
|
|
|
<td width="10%"></td><td width="90%">
|
|
|
|
<b>#include <tiffio.h><br>
|
|
|
|
int TIFFDataWidth(TIFFDataType type)</b></td></table>
|
2002-10-07 09:47:36 -04:00
|
|
|
<a name="DESCRIPTION"></a>
|
|
|
|
<h2>DESCRIPTION</h2>
|
2003-06-30 14:22:28 -04:00
|
|
|
|
|
|
|
<table width="100%" border=0 rules="none" frame="void"
|
2002-10-07 09:47:36 -04:00
|
|
|
cols="2" cellspacing="0" cellpadding="0">
|
|
|
|
<tr valign="top" align="left">
|
2003-06-30 14:22:28 -04:00
|
|
|
<td width="10%"></td><td width="90%">
|
|
|
|
<i>TIFFDataWidth</i> returns a size of <i>type</i> in bytes.
|
|
|
|
Currently following data types are supported:<i><br>
|
2002-10-07 09:47:36 -04:00
|
|
|
TIFF_BYTE<br>
|
|
|
|
TIFF_ASCII<br>
|
|
|
|
TIFF_SBYTE<br>
|
|
|
|
TIFF_UNDEFINED<br>
|
|
|
|
TIFF_SHORT<br>
|
|
|
|
TIFF_SSHORT<br>
|
|
|
|
TIFF_LONG<br>
|
|
|
|
TIFF_SLONG<br>
|
|
|
|
TIFF_FLOAT<br>
|
|
|
|
TIFF_RATIONAL<br>
|
|
|
|
TIFF_SRATIONAL<br>
|
2003-06-30 14:22:28 -04:00
|
|
|
TIFF_DOUBLE</i></td></table>
|
2002-10-07 09:47:36 -04:00
|
|
|
<a name="RETURN VALUES"></a>
|
|
|
|
<h2>RETURN VALUES</h2>
|
2003-06-30 14:22:28 -04:00
|
|
|
|
|
|
|
<table width="100%" border=0 rules="none" frame="void"
|
2002-10-07 09:47:36 -04:00
|
|
|
cols="2" cellspacing="0" cellpadding="0">
|
|
|
|
<tr valign="top" align="left">
|
2003-06-30 14:22:28 -04:00
|
|
|
<td width="10%"></td><td width="90%">
|
|
|
|
<i>TIFFDataWidth</i> returns a number of bytes occupied by
|
|
|
|
the item of given type. 0 returned when uknown data type
|
|
|
|
supplied.</td></table>
|
2002-10-07 09:47:36 -04:00
|
|
|
<a name="SEE ALSO"></a>
|
|
|
|
<h2>SEE ALSO</h2>
|
2003-06-30 14:22:28 -04:00
|
|
|
|
|
|
|
<table width="100%" border=0 rules="none" frame="void"
|
2002-10-07 09:47:36 -04:00
|
|
|
cols="2" cellspacing="0" cellpadding="0">
|
|
|
|
<tr valign="top" align="left">
|
2003-06-30 14:22:28 -04:00
|
|
|
<td width="10%"></td><td width="90%">
|
|
|
|
<i>libtiff</i>(3T),</td></table>
|
2002-10-07 09:47:36 -04:00
|
|
|
<hr>
|
|
|
|
</body>
|
|
|
|
</html>
|