1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Mon Mar 13 18:03:11 2006 -->
5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
6 <meta name=
"Content-Style" content=
"text/css">
7 <title>TIFFWriteRawtile
</title>
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>
23 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
24 cols=
"2" cellspacing=
"0" cellpadding=
"0">
25 <tr valign=
"top" align=
"left">
28 <p>TIFFWriteRawTile
− write a tile of raw data to an
29 open
<small>TIFF
</small> file
</p>
32 <a name=
"SYNOPSIS"></a>
35 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
36 cols=
"2" cellspacing=
"0" cellpadding=
"0">
37 <tr valign=
"top" align=
"left">
40 <p><b>#include
<tiffio.h
></b></p>
42 <p><b>tsize_t TIFFWriteRawTile(TIFF *
</b><i>tif
</i><b>,
43 ttile_t
</b> <i>tile
</i><b>, tdata_t
</b> <i>buf
</i><b>,
44 tsize_t
</b> <i>size
</i><b>)
</b></p>
47 <a name=
"DESCRIPTION"></a>
50 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
51 cols=
"2" cellspacing=
"0" cellpadding=
"0">
52 <tr valign=
"top" align=
"left">
55 <p>Append
<i>size
</i> bytes of raw data to the specified
59 <a name=
"RETURN VALUES"></a>
60 <h2>RETURN VALUES
</h2>
62 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
63 cols=
"2" cellspacing=
"0" cellpadding=
"0">
64 <tr valign=
"top" align=
"left">
67 <p>−1 is returned if an error occurred. Otherwise, the
68 value of
<i>size
</i> is returned.
</p>
71 <a name=
"DIAGNOSTICS"></a>
74 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
75 cols=
"2" cellspacing=
"0" cellpadding=
"0">
76 <tr valign=
"top" align=
"left">
79 <p>All error messages are directed to the
80 <b>TIFFError
</b>(
3TIFF) routine.
</p>
82 <p><b>%s: File not open for writing
</b>. The file was opened
83 for reading, not writing.
</p>
85 <p><b>Can not write tiles to a stripped image
</b>. The image
86 is assumed to be organized in strips because neither of the
87 <i>TileWidth
</i> or
<i>TileLength
</i> tags have been set
88 with
<b>TIFFSetField
</b>(
3TIFF).
</p>
90 <p><b>%s: Must set
"ImageWidth
" before writing
91 data
</b>. The image
’s width has not be set before the
92 first write. See
<b>TIFFSetField
</b>(
3TIFF) for information
93 on how to do this.
</p>
95 <p><b>%s: Must set
"PlanarConfiguration
" before
96 writing data
</b>. The organization of data has not be
97 defined before the first write. See
98 <b>TIFFSetField
</b>(
3TIFF) for information on how to do
101 <p><b>%s: No space for tile arrays
"</b>. There was not
102 enough space for the arrays that hold tile offsets and byte
105 <p><b>%s: Specified tile %d out of range, max %d
</b>. The
106 specified tile is not valid according to the currently
107 specified image dimensions.
</p>
110 <a name=
"SEE ALSO"></a>
113 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
114 cols=
"2" cellspacing=
"0" cellpadding=
"0">
115 <tr valign=
"top" align=
"left">
118 <p><b>TIFFOpen
</b>(
3TIFF),
119 <b>TIFFWriteEncodedTile
</b>(
3TIFF),
120 <b>TIFFWriteScanline
</b>(
3TIFF),
<b>libtiff
</b>(
3TIFF)
</p>
122 <p>Libtiff library home page:
123 <b>http://www.remotesensing.org/libtiff/
</b></p>