1TIFFWriteRawtile(3TIFF) TIFFWriteRawtile(3TIFF)
2
3
4
6 TIFFWriteRawTile - write a tile of raw data to an open TIFF file
7
9 #include <tiffio.h>
10
11 tsize_t TIFFWriteRawTile(TIFF *tif, ttile_t tile, tdata_t buf, tsize_t
12 size)
13
15 Append size bytes of raw data to the specified tile.
16
18 -1 is returned if an error occurred. Otherwise, the value of size is
19 returned.
20
22 All error messages are directed to the TIFFError(3TIFF) routine.
23
24 %s: File not open for writing. The file was opened for reading, not
25 writing.
26
27 Can not write tiles to a stripped image. The image is assumed to be
28 organized in strips because neither of the TileWidth or TileLength tags
29 have been set with TIFFSetField(3TIFF).
30
31 %s: Must set "ImageWidth" before writing data. The image's width has
32 not be set before the first write. See TIFFSetField(3TIFF) for infor‐
33 mation on how to do this.
34
35 %s: Must set "PlanarConfiguration" before writing data. The organiza‐
36 tion of data has not be defined before the first write. See TIFFSet‐
37 Field(3TIFF) for information on how to do this.
38
39 %s: No space for tile arrays". There was not enough space for the
40 arrays that hold tile offsets and byte counts.
41
42 %s: Specified tile %d out of range, max %d. The specified tile is not
43 valid according to the currently specified image dimensions.
44
46 TIFFOpen(3TIFF), TIFFWriteEncodedTile(3TIFF), TIFFWriteScanline(3TIFF),
47 libtiff(3TIFF)
48
49 Libtiff library home page: http://www.remotesensing.org/libtiff/
50
51
52
53libtiff December 16, 1991 TIFFWriteRawtile(3TIFF)