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