Blame man/TIFFsize.3tiff

Packit Service db44fb
.\" $Id: TIFFsize.3tiff,v 1.2 2005/11/02 11:07:18 dron Exp $
Packit Service db44fb
.\"
Packit Service db44fb
.\" Copyright (c) 1988-1997 Sam Leffler
Packit Service db44fb
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
Packit Service db44fb
.\"
Packit Service db44fb
.\" Permission to use, copy, modify, distribute, and sell this software and 
Packit Service db44fb
.\" its documentation for any purpose is hereby granted without fee, provided
Packit Service db44fb
.\" that (i) the above copyright notices and this permission notice appear in
Packit Service db44fb
.\" all copies of the software and related documentation, and (ii) the names of
Packit Service db44fb
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
Packit Service db44fb
.\" publicity relating to the software without the specific, prior written
Packit Service db44fb
.\" permission of Sam Leffler and Silicon Graphics.
Packit Service db44fb
.\" 
Packit Service db44fb
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
Packit Service db44fb
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
Packit Service db44fb
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
Packit Service db44fb
.\" 
Packit Service db44fb
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
Packit Service db44fb
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
Packit Service db44fb
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
Packit Service db44fb
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
Packit Service db44fb
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
Packit Service db44fb
.\" OF THIS SOFTWARE.
Packit Service db44fb
.\"
Packit Service db44fb
.if n .po 0
Packit Service db44fb
.TH TIFFSIZE 3TIFF "October 15, 1995" "libtiff"
Packit Service db44fb
.SH NAME
Packit Service db44fb
TIFFScanlineSize, TIFFRasterScanlineSize,
Packit Service db44fb
\- return the size of various items associated with an open
Packit Service db44fb
.SM TIFF
Packit Service db44fb
file
Packit Service db44fb
.SH SYNOPSIS
Packit Service db44fb
.B "#include <tiffio.h>"
Packit Service db44fb
.sp
Packit Service db44fb
.BI "tsize_t TIFFRasterScanlineSize(TIFF *" tif ")"
Packit Service db44fb
.br
Packit Service db44fb
.BI "tsize_t TIFFScanlineSize(TIFF *" tif ")"
Packit Service db44fb
.SH DESCRIPTION
Packit Service db44fb
.I TIFFScanlineSize
Packit Service db44fb
returns the size in bytes of a row of data as it would be returned in a call
Packit Service db44fb
to
Packit Service db44fb
.IR TIFFReadScanline ,
Packit Service db44fb
or as it would be expected in a call to
Packit Service db44fb
.IR TIFFWriteScanline .
Packit Service db44fb
.PP
Packit Service db44fb
.I TIFFRasterScanlineSize
Packit Service db44fb
returns the size in bytes of a complete decoded and packed raster scanline.
Packit Service db44fb
Note that this value may be different from the value returned by
Packit Service db44fb
.I TIFFScanlineSize
Packit Service db44fb
if data is stored as separate planes.
Packit Service db44fb
.SH DIAGNOSTICS
Packit Service db44fb
None.
Packit Service db44fb
.SH "SEE ALSO"
Packit Service db44fb
.BR TIFFOpen (3TIFF),
Packit Service db44fb
.BR TIFFReadScanline (3TIFF),
Packit Service db44fb
.BR libtiff (3TIFF)
Packit Service db44fb
.PP
Packit Service db44fb
Libtiff library home page:
Packit Service db44fb
.BR http://www.remotesensing.org/libtiff/