1<!-- Creator     : groff version 1.19.2 -->
2<!-- CreationDate: Mon Jan  2 17:41:49 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>TIFFWriteRawtile</title>
16
17</head>
18<body>
19
20<h1 align=center>TIFFWriteRawtile</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="#RETURN VALUES">RETURN VALUES</a><br>
26<a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
27<a href="#SEE ALSO">SEE ALSO</a><br>
28
29<hr>
30
31
32<a name="NAME"></a>
33<h2>NAME</h2>
34
35
36
37<p style="margin-left:11%; margin-top: 1em">TIFFWriteRawTile
38&minus; write a tile of raw data to an open
39<small>TIFF</small> file</p>
40
41<a name="SYNOPSIS"></a>
42<h2>SYNOPSIS</h2>
43
44
45<p style="margin-left:11%; margin-top: 1em"><b>#include
46&lt;tiffio.h&gt;</b></p>
47
48<p style="margin-left:11%; margin-top: 1em"><b>tsize_t
49TIFFWriteRawTile(TIFF *</b><i>tif</i><b>, ttile_t</b>
50<i>tile</i><b>, tdata_t</b> <i>buf</i><b>, tsize_t</b>
51<i>size</i><b>)</b></p>
52
53<a name="DESCRIPTION"></a>
54<h2>DESCRIPTION</h2>
55
56
57<p style="margin-left:11%; margin-top: 1em">Append
58<i>size</i> bytes of raw data to the specified tile.</p>
59
60<a name="RETURN VALUES"></a>
61<h2>RETURN VALUES</h2>
62
63
64<p style="margin-left:11%; margin-top: 1em">&minus;1 is
65returned if an error occurred. Otherwise, the value of
66<i>size</i> is returned.</p>
67
68<a name="DIAGNOSTICS"></a>
69<h2>DIAGNOSTICS</h2>
70
71
72<p style="margin-left:11%; margin-top: 1em">All error
73messages are directed to the <b>TIFFError</b>(3TIFF)
74routine.</p>
75
76<p style="margin-left:11%; margin-top: 1em"><b>%s: File not
77open for writing</b>. The file was opened for reading, not
78writing.</p>
79
80<p style="margin-left:11%; margin-top: 1em"><b>Can not
81write tiles to a stripped image</b>. The image is assumed to
82be organized in strips because neither of the
83<i>TileWidth</i> or <i>TileLength</i> tags have been set
84with <b>TIFFSetField</b>(3TIFF).</p>
85
86<p style="margin-left:11%; margin-top: 1em"><b>%s: Must set
87&quot;ImageWidth&quot; before writing data</b>. The
88image&rsquo;s width has not be set before the first write.
89See <b>TIFFSetField</b>(3TIFF) for information on how to do
90this.</p>
91
92<p style="margin-left:11%; margin-top: 1em"><b>%s: Must set
93&quot;PlanarConfiguration&quot; before writing data</b>. The
94organization of data has not be defined before the first
95write. See <b>TIFFSetField</b>(3TIFF) for information on how
96to do this.</p>
97
98<p style="margin-left:11%; margin-top: 1em"><b>%s: No space
99for tile arrays&quot;</b>. There was not enough space for
100the arrays that hold tile offsets and byte counts.</p>
101
102<p style="margin-left:11%; margin-top: 1em"><b>%s:
103Specified tile %d out of range, max %d</b>. The specified
104tile is not valid according to the currently specified image
105dimensions.</p>
106
107<a name="SEE ALSO"></a>
108<h2>SEE ALSO</h2>
109
110
111
112<p style="margin-left:11%; margin-top: 1em"><b>TIFFOpen</b>(3TIFF),
113<b>TIFFWriteEncodedTile</b>(3TIFF),
114<b>TIFFWriteScanline</b>(3TIFF), <b>libtiff</b>(3TIFF)</p>
115
116<p style="margin-left:11%; margin-top: 1em">Libtiff library
117home page: <b>http://www.remotesensing.org/libtiff/</b></p>
118<hr>
119</body>
120</html>
121