1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Sat Feb 24 18:37:18 2007 -->
5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
6 <meta name=
"Content-Style" content=
"text/css">
7 <title>TIFFWriteRawstrip
</title>
11 <h1 align=center
>TIFFWriteRawstrip
</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=
"#NOTES">NOTES
</a><br>
16 <a href=
"#RETURN VALUES">RETURN VALUES
</a><br>
17 <a href=
"#DIAGNOSTICS">DIAGNOSTICS
</a><br>
18 <a href=
"#SEE ALSO">SEE ALSO
</a><br>
24 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
25 cols=
"2" cellspacing=
"0" cellpadding=
"0">
26 <tr valign=
"top" align=
"left">
29 <p>TIFFWriteRawStrip
− write a strip of raw data to an
30 open
<small>TIFF
</small> file
</p>
33 <a name=
"SYNOPSIS"></a>
36 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
37 cols=
"2" cellspacing=
"0" cellpadding=
"0">
38 <tr valign=
"top" align=
"left">
41 <p><b>#include
<tiffio.h
></b></p>
43 <p><b>tsize_t TIFFWriteRawStrip(TIFF *
</b><i>tif
</i><b>,
44 tstrip_t
</b> <i>strip
</i><b>, tdata_t
</b> <i>buf
</i><b>,
45 tsize_t
</b> <i>size
</i><b>)
</b></p>
48 <a name=
"DESCRIPTION"></a>
51 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
52 cols=
"2" cellspacing=
"0" cellpadding=
"0">
53 <tr valign=
"top" align=
"left">
56 <p>Append
<i>size
</i> bytes of raw data to the specified
63 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
64 cols=
"2" cellspacing=
"0" cellpadding=
"0">
65 <tr valign=
"top" align=
"left">
68 <p>The strip number must be valid according to the current
69 settings of the
<i>ImageLength
</i> and
<i>RowsPerStrip
</i>
70 tags. An image may be dynamically grown by increasing the
71 value of
<i>ImageLength
</i> prior to each call to
72 <i>TIFFWriteRawStrip
</i>.
</p>
75 <a name=
"RETURN VALUES"></a>
76 <h2>RETURN VALUES
</h2>
78 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
79 cols=
"2" cellspacing=
"0" cellpadding=
"0">
80 <tr valign=
"top" align=
"left">
83 <p>−1 is returned if an error occurred. Otherwise, the
84 value of
<i>size
</i> is returned.
</p>
87 <a name=
"DIAGNOSTICS"></a>
90 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
91 cols=
"2" cellspacing=
"0" cellpadding=
"0">
92 <tr valign=
"top" align=
"left">
95 <p>All error messages are directed to the
96 <b>TIFFError
</b>(
3TIFF) routine.
</p>
98 <p><b>%s: File not open for writing
</b>. The file was opened
99 for reading, not writing.
</p>
101 <p><b>Can not write scanlines to a tiled image
</b>. The
102 image is assumed to be organized in tiles because the
103 <i>TileWidth
</i> and
<i>TileLength
</i> tags have been set
104 with
<b>TIFFSetField
</b>(
3TIFF).
</p>
106 <p><b>%s: Must set
"ImageWidth
" before writing
107 data
</b>. The image
’s width has not be set before the
108 first write. See
<b>TIFFSetField
</b>(
3TIFF) for information
109 on how to do this.
</p>
111 <p><b>%s: Must set
"PlanarConfiguration
" before
112 writing data
</b>. The organization of data has not be
113 defined before the first write. See
114 <b>TIFFSetField
</b>(
3TIFF) for information on how to do
117 <p><b>%s: No space for strip arrays
"</b>. There was not
118 enough space for the arrays that hold strip offsets and byte
121 <p><b>%s: Strip %d out of range, max %d
</b>. The specified
122 strip is not a valid strip according to the currently
123 specified image dimensions.
</p>
126 <a name=
"SEE ALSO"></a>
129 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
130 cols=
"2" cellspacing=
"0" cellpadding=
"0">
131 <tr valign=
"top" align=
"left">
134 <p><b>TIFFOpen
</b>(
3TIFF),
135 <b>TIFFWriteEncodedStrip
</b>(
3TIFF),
136 <b>TIFFWriteScanline
</b>(
3TIFF),
<b>libtiff
</b>(
3TIFF)
</p>
138 <p>Libtiff library home page:
139 <b>http://www.remotesensing.org/libtiff/
</b></p>