|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
<meta content="groff -Thtml, see www.gnu.org" name="generator">
|
|
kusano |
7d535a |
<meta content="text/css" name="Content-Style">
|
|
kusano |
7d535a |
<title>TIFFSTRIP</title>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFSTRIP
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
DIAGNOSTICS
|
|
kusano |
7d535a |
SEE ALSO
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFDefaultStripSize, TIFFStripSize, TIFFVStripSize,
|
|
kusano |
7d535a |
TIFFRawStripSize, TIFFComputeStrip, TIFFNumberOfStrips
|
|
kusano |
7d535a |
− strip-related utility routines
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#include <tiffio.h>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
uint32 TIFFDefaultStripSize(TIFF *tif,
|
|
kusano |
7d535a |
uint32 estimate)
|
|
kusano |
7d535a |
tsize_t TIFFStripSize(TIFF *tif)
|
|
kusano |
7d535a |
tsize_t TIFFVStripSize(TIFF *tif, uint32
|
|
kusano |
7d535a |
nrows)
|
|
kusano |
7d535a |
tsize_t TIFFRawStripSize(TIFF *tif,
|
|
kusano |
7d535a |
tstrip_t strip)
|
|
kusano |
7d535a |
tstrip_t TIFFComputeStrip(TIFF *tif,
|
|
kusano |
7d535a |
uint32 row, tsample_t
|
|
kusano |
7d535a |
sample)
|
|
kusano |
7d535a |
tstrip_t TIFFNumberOfStrips(TIFF *tif)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFDefaultStripSize returns the number of rows
|
|
kusano |
7d535a |
for a reasonable-sized strip according to the current
|
|
kusano |
7d535a |
settings of the ImageWidth, BitsPerSample,
|
|
kusano |
7d535a |
SamplesPerPixel, tags and any compression-specific
|
|
kusano |
7d535a |
requirements. If the estimate parameter, if non-zero,
|
|
kusano |
7d535a |
then it is taken as an estimate of the desired strip size
|
|
kusano |
7d535a |
and adjusted according to any compression-specific
|
|
kusano |
7d535a |
requirements. The value returned by this function is
|
|
kusano |
7d535a |
typically used to define the RowsPerStrip tag. In
|
|
kusano |
7d535a |
lieu of any unusual requirements TIFFDefaultStripSize
|
|
kusano |
7d535a |
tries to create strips that have approximately 8 kilobytes
|
|
kusano |
7d535a |
of uncompressed data.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFStripSize returns the equivalent size for a
|
|
kusano |
7d535a |
strip of data as it would be returned in a call to
|
|
kusano |
7d535a |
TIFFReadEncodedStrip or as it would be expected in a
|
|
kusano |
7d535a |
call to TIFFWriteEncodedStrip.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFVStripSize returns the number of bytes in a
|
|
kusano |
7d535a |
strip with nrows rows of data.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFRawStripSize returns the number of bytes in a
|
|
kusano |
7d535a |
raw strip (i.e. not decoded).
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFComputeStrip returns the strip that contains
|
|
kusano |
7d535a |
the specified coordinates. A valid strip is always returned;
|
|
kusano |
7d535a |
out-of-range coordinate values are clamped to the bounds of
|
|
kusano |
7d535a |
the image. The row parameter is always used in
|
|
kusano |
7d535a |
calculating a strip. The sample parameter is used
|
|
kusano |
7d535a |
only if data are organized in separate planes
|
|
kusano |
7d535a |
(PlanarConfiguration=2).
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFNumberOfStrips returns the number of strips in
|
|
kusano |
7d535a |
the image.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
DIAGNOSTICS
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
None.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SEE ALSO
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFReadEncodedStrip(3TIFF),
|
|
kusano |
7d535a |
TIFFReadRawStrip(3TIFF),
|
|
kusano |
7d535a |
TIFFWriteEncodedStrip(3TIFF),
|
|
kusano |
7d535a |
TIFFWriteRawStrip(3TIFF), libtiff(3TIFF),
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Libtiff library home page:
|
|
kusano |
7d535a |
http://www.remotesensing.org/libtiff/
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|