1<!-- Creator : groff version 1.19.2 --> 2<!-- CreationDate: Mon Jan 2 17:41:48 2006 --> 3<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 4"http://www.w3.org/TR/html4/loose.dtd"> 5<html> 6<head> 7<meta name="generator" content="groff -Thtml, see www.gnu.org"> 8<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> 9<meta name="Content-Style" content="text/css"> 10<style type="text/css"> 11 p { margin-top: 0; margin-bottom: 0; } 12 pre { margin-top: 0; margin-bottom: 0; } 13 table { margin-top: 0; margin-bottom: 0; } 14</style> 15<title>TIFFWriteRawstrip</title> 16 17</head> 18<body> 19 20<h1 align=center>TIFFWriteRawstrip</h1> 21 22<a href="#NAME">NAME</a><br> 23<a href="#SYNOPSIS">SYNOPSIS</a><br> 24<a href="#DESCRIPTION">DESCRIPTION</a><br> 25<a href="#NOTES">NOTES</a><br> 26<a href="#RETURN VALUES">RETURN VALUES</a><br> 27<a href="#DIAGNOSTICS">DIAGNOSTICS</a><br> 28<a href="#SEE ALSO">SEE ALSO</a><br> 29 30<hr> 31 32 33<a name="NAME"></a> 34<h2>NAME</h2> 35 36 37 38<p style="margin-left:11%; margin-top: 1em">TIFFWriteRawStrip 39− write a strip of raw data to an open 40<small>TIFF</small> file</p> 41 42<a name="SYNOPSIS"></a> 43<h2>SYNOPSIS</h2> 44 45 46<p style="margin-left:11%; margin-top: 1em"><b>#include 47<tiffio.h></b></p> 48 49<p style="margin-left:11%; margin-top: 1em"><b>tsize_t 50TIFFWriteRawStrip(TIFF *</b><i>tif</i><b>, tstrip_t</b> 51<i>strip</i><b>, tdata_t</b> <i>buf</i><b>, tsize_t</b> 52<i>size</i><b>)</b></p> 53 54<a name="DESCRIPTION"></a> 55<h2>DESCRIPTION</h2> 56 57 58<p style="margin-left:11%; margin-top: 1em">Append 59<i>size</i> bytes of raw data to the specified strip.</p> 60 61<a name="NOTES"></a> 62<h2>NOTES</h2> 63 64 65<p style="margin-left:11%; margin-top: 1em">The strip 66number must be valid according to the current settings of 67the <i>ImageLength</i> and <i>RowsPerStrip</i> tags. An 68image may be dynamically grown by increasing the value of 69<i>ImageLength</i> prior to each call to 70<i>TIFFWriteRawStrip</i>.</p> 71 72<a name="RETURN VALUES"></a> 73<h2>RETURN VALUES</h2> 74 75 76<p style="margin-left:11%; margin-top: 1em">−1 is 77returned if an error occurred. Otherwise, the value of 78<i>size</i> is returned.</p> 79 80<a name="DIAGNOSTICS"></a> 81<h2>DIAGNOSTICS</h2> 82 83 84<p style="margin-left:11%; margin-top: 1em">All error 85messages are directed to the <b>TIFFError</b>(3TIFF) 86routine.</p> 87 88<p style="margin-left:11%; margin-top: 1em"><b>%s: File not 89open for writing</b>. The file was opened for reading, not 90writing.</p> 91 92<p style="margin-left:11%; margin-top: 1em"><b>Can not 93write scanlines to a tiled image</b>. The image is assumed 94to be organized in tiles because the <i>TileWidth</i> and 95<i>TileLength</i> tags have been set with 96<b>TIFFSetField</b>(3TIFF).</p> 97 98<p style="margin-left:11%; margin-top: 1em"><b>%s: Must set 99"ImageWidth" before writing data</b>. The 100image’s width has not be set before the first write. 101See <b>TIFFSetField</b>(3TIFF) for information on how to do 102this.</p> 103 104<p style="margin-left:11%; margin-top: 1em"><b>%s: Must set 105"PlanarConfiguration" before writing data</b>. The 106organization of data has not be defined before the first 107write. See <b>TIFFSetField</b>(3TIFF) for information on how 108to do this.</p> 109 110<p style="margin-left:11%; margin-top: 1em"><b>%s: No space 111for strip arrays"</b>. There was not enough space for 112the arrays that hold strip offsets and byte counts.</p> 113 114<p style="margin-left:11%; margin-top: 1em"><b>%s: Strip %d 115out of range, max %d</b>. The specified strip is not a valid 116strip according to the currently specified image 117dimensions.</p> 118 119<a name="SEE ALSO"></a> 120<h2>SEE ALSO</h2> 121 122 123 124<p style="margin-left:11%; margin-top: 1em"><b>TIFFOpen</b>(3TIFF), 125<b>TIFFWriteEncodedStrip</b>(3TIFF), 126<b>TIFFWriteScanline</b>(3TIFF), <b>libtiff</b>(3TIFF)</p> 127 128<p style="margin-left:11%; margin-top: 1em">Libtiff library 129home page: <b>http://www.remotesensing.org/libtiff/</b></p> 130<hr> 131</body> 132</html> 133