TIFFComputeStrip(3TMISC. REFERENCE MANUAL PAGTIFFComputeStrip(3T)

NAME
     TIFFComputeStrip, TIFFNumberOfStrips - strip-related utility
     routines

SYNOPSIS
     #include <tiffio.h>
     tstrip_t TIFFComputeStrip(TIFF* tif, uint32  row,  tsample_t
     sample)
     tstrip_t TIFFNumberOfStrips(TIFF* tif)

DESCRIPTION
     TIFFComputeStrip returns the strip that contains the  speci-
     fied  coordinates.   A  valid strip is always returned; out-
     of-range coordinate values are clamped to the bounds of  the
     image.   The  row  parameter is always used in calculating a
     strip.  The sample parameter is used only if data are organ-
     ized in separate planes (PlanarConfiguration=2).

     TIFFNumberOfStrips returns  the  number  of  strips  in  the
     image.

DIAGNOSTICS
     None.

SEE ALSO
     intro(3T),  TIFFReadEncodedStrip(3T),  TIFFReadRawStrip(3T),
     TIFFWriteEncodedStrip(3T), TIFFWriteRawStrip(3T)

Sun Release 4.1  Last change: February 14, 1992                 1