OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I386LINUX / util / I386LINUX / man / man3 / TIFFWriteRawTile.3t
1 .\" $Header: /CVS_DB/Eos/util/I386LINUX/man/man3/TIFFWriteRawTile.3t,v 1.1.1.1 2002/02/01 06:40:34 tacyas Exp $
2 .\"
3 .\" Copyright (c) 1988-1997 Sam Leffler
4 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
5 .\"
6 .\" Permission to use, copy, modify, distribute, and sell this software and 
7 .\" its documentation for any purpose is hereby granted without fee, provided
8 .\" that (i) the above copyright notices and this permission notice appear in
9 .\" all copies of the software and related documentation, and (ii) the names of
10 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
11 .\" publicity relating to the software without the specific, prior written
12 .\" permission of Sam Leffler and Silicon Graphics.
13 .\" 
14 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
15 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
16 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
17 .\" 
18 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
22 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
23 .\" OF THIS SOFTWARE.
24 .\"
25 .if n .po 0
26 .TH TIFFWriteRawtile 3T "December 16, 1991"
27 .SH NAME
28 TIFFWriteRawTile \- write a tile of raw data to an open
29 .SM TIFF
30 file
31 .SH SYNOPSIS
32 .B "#include <tiffio.h>"
33 .br
34 .B "tsize_t TIFFWriteRawTile(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size)"
35 .SH DESCRIPTION
36 Append
37 .I size
38 bytes of raw data to the specified tile.
39 .SH "RETURN VALUES"
40 \-1 is returned if an error occurred.
41 Otherwise, the value of
42 .IR size 
43 is returned.
44 .SH DIAGNOSTICS
45 All error messages are directed to the
46 .IR TIFFError (3T)
47 routine.
48 .PP
49 \fB%s: File not open for writing\fP.
50 The file was opened for reading, not writing.
51 .PP
52 \fBCan not write tiles to a stripped image\fP.
53 The image is assumed to be organized in strips because neither of the
54 .I TileWidth
55 or
56 .I TileLength
57 tags have been set with
58 .IR TIFFSetField (3T).
59 .PP
60 \fB%s: Must set "ImageWidth" before writing data\fP.
61 The image's width has not be set before the first write.
62 See
63 .IR TIFFSetField (3T)
64 for information on how to do this.
65 .PP
66 \fB%s: Must set "PlanarConfiguration" before writing data\fP.
67 The organization of data has not be defined before the first write.
68 See
69 .IR TIFFSetField (3T)
70 for information on how to do this.
71 .PP
72 \fB%s: No space for tile arrays"\fP.
73 There was not enough space for the arrays that hold tile
74 offsets and byte counts.
75 .PP
76 \fB%s: Specified tile %d out of range, max %d\fP.
77 The specified tile is not valid according to the currently
78 specified image dimensions.
79 .SH "SEE ALSO"
80 .IR libtiff (3T),
81 .IR TIFFOpen (3T),
82 .IR TIFFWriteEncodedTile (3T),
83 .IR TIFFWriteScanline (3T)