Modified TIFFIsByteSwapped() help to not imply that application code

is normally responsible for byte swapping image data.
This commit is contained in:
Frank Warmerdam 1999-11-24 17:08:30 +00:00
parent e0f4e7b592
commit f5604424f3

View File

@ -1,4 +1,4 @@
.\" $Header: /cvs/maptools/cvsroot/libtiff/man/Attic/TIFFquery.3t,v 1.1 1999-07-27 21:50:27 mike Exp $ .\" $Header: /cvs/maptools/cvsroot/libtiff/man/Attic/TIFFquery.3t,v 1.2 1999-11-24 17:08:30 warmerda Exp $
.\" .\"
.\" Copyright (c) 1988-1997 Sam Leffler .\" Copyright (c) 1988-1997 Sam Leffler
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc. .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
@ -107,10 +107,10 @@ Zero is returned if the image data is organized in strips.
.IR TIFFIsByteSwapped .IR TIFFIsByteSwapped
returns a non-zero value if the image data was in a different returns a non-zero value if the image data was in a different
byte-order than the host machine. byte-order than the host machine.
Zero is returned if the image data and local host byte-orders Zero is returned if the TIFF file and local host byte-orders
are the same. are the same. Note that TIFFReadTile(), TIFFReadStrip() and
Data samples that are more than 8 bits wide must be byte-swapped TIFFReadScanline() functions already normally perform byte
by the application. swapping to local host order if needed.
.PP .PP
.I TIFFIsUpSampled .I TIFFIsUpSampled
returns a non-zero value if image data returned through the returns a non-zero value if image data returned through the