Fixed API to refer to row, not strip as the argument.
This commit is contained in:
parent
af621273ea
commit
6e2a00dfee
@ -1,4 +1,4 @@
|
||||
.\" $Header: /cvs/maptools/cvsroot/libtiff/man/Attic/TIFFReadRGBAStrip.3t,v 1.1 1999-08-16 18:37:40 warmerda Exp $
|
||||
.\" $Header: /cvs/maptools/cvsroot/libtiff/man/Attic/TIFFReadRGBAStrip.3t,v 1.2 2000-09-25 15:39:07 warmerda Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1991-1997 Sam Leffler
|
||||
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
|
||||
@ -35,7 +35,7 @@ TIFFReadRGBAStrip \- read and decode an image strip into a fixed-format raster
|
||||
.B "#define TIFFGetB(abgr) (((abgr) >> 16) & 0xff)"
|
||||
.B "#define TIFFGetA(abgr) (((abgr) >> 24) & 0xff)"
|
||||
.sp 5p
|
||||
.B "int TIFFReadRGBAStrip(TIFF* tif, tstrip_t strip, uint32 * raster )"
|
||||
.B "int TIFFReadRGBAStrip(TIFF* tif, uint32 row, uint32 * raster )"
|
||||
.SH DESCRIPTION
|
||||
.IR TIFFReadRGBAStrip
|
||||
reads a single strip of a strip-based image into memory,
|
||||
@ -48,10 +48,8 @@ rowsperstrip is the maximum lines in a strip (TIFFTAG_ROWSPERSTRIP).
|
||||
|
||||
.PP
|
||||
The
|
||||
.IR strip
|
||||
value should be the strip number (strip zero is the first) as returned by the
|
||||
.I TIFFComputeStrip
|
||||
function, but always for sample 0.
|
||||
.IR row
|
||||
value should be the row of the first row in the strip (strip * rowsperstrip, zero based).
|
||||
|
||||
.PP
|
||||
Note that the raster is assume to be organized such that the pixel
|
||||
|
Loading…
Reference in New Issue
Block a user