1TIFFWriteRawstrip(3TIFF)                              TIFFWriteRawstrip(3TIFF)
2
3
4

NAME

6       TIFFWriteRawStrip - write a strip of raw data to an open TIFF file
7

SYNOPSIS

9       #include <tiffio.h>
10
11       tsize_t  TIFFWriteRawStrip(TIFF  *tif,  tstrip_t  strip,  tdata_t  buf,
12       tsize_t size)
13

DESCRIPTION

15       Append size bytes of raw data to the specified strip.
16

NOTES

18       The strip number must be valid according to the current settings of the
19       ImageLength  and  RowsPerStrip tags.  An image may be dynamically grown
20       by increasing the value of ImageLength prior to each call to  TIFFWrit‐
21       eRawStrip.
22

RETURN VALUES

24       -1  is  returned if an error occurred.  Otherwise, the value of size is
25       returned.
26

DIAGNOSTICS

28       All error messages are directed to the TIFFError(3TIFF) routine.
29
30       %s: File not open for writing.  The file was opened  for  reading,  not
31       writing.
32
33       Can  not  write  scanlines to a tiled image. The image is assumed to be
34       organized in tiles because the TileWidth and TileLength tags have  been
35       set with TIFFSetField(3TIFF).
36
37       %s:  Must  set "ImageWidth" before writing data.  The image's width has
38       not be set before the first write.  See TIFFSetField(3TIFF) for  infor‐
39       mation on how to do this.
40
41       %s:  Must set "PlanarConfiguration" before writing data.  The organiza‐
42       tion of data has not be defined before the first write.   See  TIFFSet‐
43       Field(3TIFF) for information on how to do this.
44
45       %s:  No  space  for  strip arrays".  There was not enough space for the
46       arrays that hold strip offsets and byte counts.
47
48       %s: Strip %d out of range, max %d.  The specified strip is not a  valid
49       strip according to the currently specified image dimensions.
50

SEE ALSO

52       TIFFOpen(3TIFF),      TIFFWriteEncodedStrip(3TIFF),      TIFFWriteScan‐
53       line(3TIFF), libtiff(3TIFF)
54
55       Libtiff library home page: http://www.simplesystems.org/libtiff/
56
57
58
59libtiff                        October 15, 1995       TIFFWriteRawstrip(3TIFF)
Impressum