1TIFFReadRawStrip(3TIFF)                                TIFFReadRawStrip(3TIFF)
2
3
4

NAME

6       TIFFReadRawStrip  -  return  the  undecoded contents of a strip of data
7       from an open TIFF file
8

SYNOPSIS

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

DESCRIPTION

16       Read  the contents of the specified strip into the (user supplied) data
17       buffer.  Note that the value of strip is a ``raw strip  number.''  That
18       is,  the caller must take into account whether or not the data is orga‐
19       nized in separate planes (PlanarConfiguration=2).  To read a full strip
20       of  data  the  data buffer should typically be at least as large as the
21       number returned by TIFFStripSize.
22

RETURN VALUES

24       The actual number of bytes of data that were placed in buf is returned;
25       TIFFReadEncodedStrip returns -1 if an error was encountered.
26

DIAGNOSTICS

28       All error messages are directed to the TIFFError(3TIFF) routine.
29

SEE ALSO

31       TIFFOpen(3TIFF),  TIFFReadEncodedStrip(3TIFF), TIFFReadScanline(3TIFF),
32       TIFFStripSize(3TIFF), libtiff(3TIFF)
33
34       Libtiff library home page: http://www.remotesensing.org/libtiff/
35
36
37
38libtiff                        October 15, 1995        TIFFReadRawStrip(3TIFF)
Impressum