1<!-- Creator : groff version 1.18.1 --> 2<!-- CreationDate: Sat Feb 24 18:37:18 2007 --> 3<html> 4<head> 5<meta name="generator" content="groff -Thtml, see www.gnu.org"> 6<meta name="Content-Style" content="text/css"> 7<title>TIFFWriteRawtile</title> 8</head> 9<body> 10 11<h1 align=center>TIFFWriteRawtile</h1> 12<a href="#NAME">NAME</a><br> 13<a href="#SYNOPSIS">SYNOPSIS</a><br> 14<a href="#DESCRIPTION">DESCRIPTION</a><br> 15<a href="#RETURN VALUES">RETURN VALUES</a><br> 16<a href="#DIAGNOSTICS">DIAGNOSTICS</a><br> 17<a href="#SEE ALSO">SEE ALSO</a><br> 18 19<hr> 20<a name="NAME"></a> 21<h2>NAME</h2> 22<!-- INDENTATION --> 23<table width="100%" border=0 rules="none" frame="void" 24 cols="2" cellspacing="0" cellpadding="0"> 25<tr valign="top" align="left"> 26<td width="8%"></td> 27<td width="91%"> 28<p>TIFFWriteRawTile − write a tile of raw data to an 29open <small>TIFF</small> file</p> 30</td> 31</table> 32<a name="SYNOPSIS"></a> 33<h2>SYNOPSIS</h2> 34<!-- INDENTATION --> 35<table width="100%" border=0 rules="none" frame="void" 36 cols="2" cellspacing="0" cellpadding="0"> 37<tr valign="top" align="left"> 38<td width="8%"></td> 39<td width="91%"> 40<p><b>#include <tiffio.h></b></p> 41<!-- INDENTATION --> 42<p><b>tsize_t TIFFWriteRawTile(TIFF *</b><i>tif</i><b>, 43ttile_t</b> <i>tile</i><b>, tdata_t</b> <i>buf</i><b>, 44tsize_t</b> <i>size</i><b>)</b></p> 45</td> 46</table> 47<a name="DESCRIPTION"></a> 48<h2>DESCRIPTION</h2> 49<!-- INDENTATION --> 50<table width="100%" border=0 rules="none" frame="void" 51 cols="2" cellspacing="0" cellpadding="0"> 52<tr valign="top" align="left"> 53<td width="8%"></td> 54<td width="91%"> 55<p>Append <i>size</i> bytes of raw data to the specified 56tile.</p> 57</td> 58</table> 59<a name="RETURN VALUES"></a> 60<h2>RETURN VALUES</h2> 61<!-- INDENTATION --> 62<table width="100%" border=0 rules="none" frame="void" 63 cols="2" cellspacing="0" cellpadding="0"> 64<tr valign="top" align="left"> 65<td width="8%"></td> 66<td width="91%"> 67<p>−1 is returned if an error occurred. Otherwise, the 68value of <i>size</i> is returned.</p> 69</td> 70</table> 71<a name="DIAGNOSTICS"></a> 72<h2>DIAGNOSTICS</h2> 73<!-- INDENTATION --> 74<table width="100%" border=0 rules="none" frame="void" 75 cols="2" cellspacing="0" cellpadding="0"> 76<tr valign="top" align="left"> 77<td width="8%"></td> 78<td width="91%"> 79<p>All error messages are directed to the 80<b>TIFFError</b>(3TIFF) routine.</p> 81<!-- INDENTATION --> 82<p><b>%s: File not open for writing</b>. The file was opened 83for reading, not writing.</p> 84<!-- INDENTATION --> 85<p><b>Can not write tiles to a stripped image</b>. The image 86is assumed to be organized in strips because neither of the 87<i>TileWidth</i> or <i>TileLength</i> tags have been set 88with <b>TIFFSetField</b>(3TIFF).</p> 89<!-- INDENTATION --> 90<p><b>%s: Must set "ImageWidth" before writing 91data</b>. The image’s width has not be set before the 92first write. See <b>TIFFSetField</b>(3TIFF) for information 93on how to do this.</p> 94<!-- INDENTATION --> 95<p><b>%s: Must set "PlanarConfiguration" before 96writing data</b>. The organization of data has not be 97defined before the first write. See 98<b>TIFFSetField</b>(3TIFF) for information on how to do 99this.</p> 100<!-- INDENTATION --> 101<p><b>%s: No space for tile arrays"</b>. There was not 102enough space for the arrays that hold tile offsets and byte 103counts.</p> 104<!-- INDENTATION --> 105<p><b>%s: Specified tile %d out of range, max %d</b>. The 106specified tile is not valid according to the currently 107specified image dimensions.</p> 108</td> 109</table> 110<a name="SEE ALSO"></a> 111<h2>SEE ALSO</h2> 112<!-- INDENTATION --> 113<table width="100%" border=0 rules="none" frame="void" 114 cols="2" cellspacing="0" cellpadding="0"> 115<tr valign="top" align="left"> 116<td width="8%"></td> 117<td width="91%"> 118<p><b>TIFFOpen</b>(3TIFF), 119<b>TIFFWriteEncodedTile</b>(3TIFF), 120<b>TIFFWriteScanline</b>(3TIFF), <b>libtiff</b>(3TIFF)</p> 121<!-- INDENTATION --> 122<p>Libtiff library home page: 123<b>http://www.simplesystems.org/libtiff/</b></p> 124</td> 125</table> 126<hr> 127</body> 128</html> 129