10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<
refmeta><
refentrytitle>TIFFstrip</
refentrytitle><
manvolnum>3tiff</
manvolnum>
10139N/A<
refmiscinfo class="date">02 Apr 2004</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man3;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
indexterm><
primary>TIFFstrip</
primary></
indexterm><
indexterm><
primary>strip-related
10139N/Autility routines</
primary></
indexterm>
10139N/A<
refnamediv id="TIFFstrip-3tiff-name"><
refdescriptor>TIFFstrip</
refdescriptor>
10139N/A<
refname>TIFFDefaultStripSize</
refname><
refname>TIFFStripSize</
refname><
refname>
10139N/ATIFFVStripSize</
refname><
refname>TIFFComputeStrip</
refname><
refname>TIFFNumberOfStrips
10139N/A</
refname><
refpurpose>strip-related utility routines</
refpurpose></
refnamediv>
10139N/A<
refsect1 id="TIFFstrip-3tiff-synp"><
title>&synp-tt;</
title>
10139N/Auint32 TIFFDefaultStripSize(TIFF* tif, uint32 estimate)
10139N/Atsize_t TIFFStripSize(TIFF* tif)
10139N/Atsize_t TIFFVStripSize(TIFF* tif, uint32 nrows)
10139N/Atstrip_t TIFFComputeStrip(TIFF* tif, uint32 row, tsample_t sample)
10139N/Atstrip_t TIFFNumberOfStrips(TIFF* tif)</
programlisting>
10139N/A<
refsect1 id="TIFFstrip-3tiff-desc"><
title>&desc-tt;</
title>
10139N/A<
para><
literal>TIFFDefaultStripSize</
literal> returns the number of rows for
10139N/Aa reasonable-sized strip according to the current settings of the <
literal>
10139N/AImageWidth</
literal>, <
literal>BitsPerSample</
literal>, and <
literal>SamplesPerPixel
10139N/A</
literal> tags, and any compression-specific requirements. If the <
literal>
10139N/Aestimate</
literal> parameter is non-zero, then it is taken as an estimate
10139N/Aof the desired strip size and adjusted according to any compression-specific
10139N/Arequirements. The value returned by this function is typically used to define
10139N/Athe <
literal>RowsPerStrip</
literal> tag. In lieu of any unusual requirements, <
literal>
10139N/ATIFFDefaultStripSize</
literal> tries to create strips that have approximately
10139N/A8 kilobytes of uncompressed data.</
para>
10139N/A<
para><
literal>TIFFStripSize</
literal> returns the equivalent size for a strip
10139N/Aof data as it would be returned in a call to <
literal>TIFFReadEncodedStrip
10139N/A</
literal> or as it would be expected in a call to <
literal>TIFFWriteEncodedStrip
10139N/A<
para><
literal>TIFFVStripSize</
literal> returns the number of bytes in a strip
10139N/Awith <
literal>nrows</
literal> rows of data.</
para>
10139N/A<
para><
literal>TIFFComputeStrip</
literal> returns the strip that contains
10139N/Athe specified coordinates. A valid strip is always returned. Out-of-range
10139N/Acoordinate values are clamped to the bounds of the image. The <
literal>row
10139N/A</
literal> parameter is always used in calculating a strip. The <
literal>
10139N/Asample</
literal> parameter is used only if data is organized in separate planes
10139N/A<
para><
literal>TIFFNumberOfStrips</
literal> returns the number of strips in
10139N/A<
refsect1 id="TIFFstrip-3tiff-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry><
para>Availability</
para></
entry><
entry><
para>SUNWTiff</
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Evolving</
para></
entry></
row>
10139N/A<
refsect1 id="TIFFstrip-3tiff-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 10139N/A<
para><
citerefentry><
refentrytitle>libtiff</
refentrytitle><
manvolnum>3</
manvolnum>
10139N/A</
citerefentry>,<?
Pub Caret1> <
citerefentry><
refentrytitle>TIFFReadEncodedStrip
10139N/A</
refentrytitle><
manvolnum>3tiff</
manvolnum></
citerefentry>, <
citerefentry>
10139N/A<
refentrytitle>TIFFReadRawStrip</
refentrytitle><
manvolnum>3tiff</
manvolnum>
10139N/A</
citerefentry>, <
citerefentry><
refentrytitle>TIFFWriteEncodedStrip</
refentrytitle>
10139N/A<
manvolnum>3tiff</
manvolnum></
citerefentry>, <
citerefentry><
refentrytitle>
10139N/ATIFFWriteRawStrip</
refentrytitle><
manvolnum>3tiff</
manvolnum></
citerefentry></
para>
10139N/A<
refsect1 id="TIFFstrip-3tiff-note"><
title>¬e-tt;</
title>
10139N/A<
para>This man page was originally written by Sam Leffler. Updated by Breda
10139N/AMcColgan, Sun Microsystems Inc., 2004.</
para>