author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 06 Jul 2010 15:10:48 +0300 | |
changeset 30 | 5dc02b23752f |
parent 0 | 1918ee327afb |
permissions | -rw-r--r-- |
0 | 1 |
<!-- Creator : groff version 1.18.1 --> |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
2 |
<!-- CreationDate: Fri Jul 13 17:43:18 2007 --> |
0 | 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 |
|
29 |
open <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>, |
|
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> |
|
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 |
|
56 |
tile.</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 |
|
68 |
value 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 |
|
83 |
for reading, not writing.</p> |
|
84 |
<!-- INDENTATION --> |
|
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> |
|
89 |
<!-- INDENTATION --> |
|
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> |
|
94 |
<!-- INDENTATION --> |
|
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 |
|
99 |
this.</p> |
|
100 |
<!-- INDENTATION --> |
|
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 |
|
103 |
counts.</p> |
|
104 |
<!-- INDENTATION --> |
|
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> |
|
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.remotesensing.org/libtiff/</b></p> |
|
124 |
</td> |
|
125 |
</table> |
|
126 |
<hr> |
|
127 |
</body> |
|
128 |
</html> |