From f5604424f35c2649ee13a7ec4af7549f38d2c7b4 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Wed, 24 Nov 1999 17:08:30 +0000 Subject: [PATCH] Modified TIFFIsByteSwapped() help to not imply that application code is normally responsible for byte swapping image data. --- man/TIFFquery.3t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/man/TIFFquery.3t b/man/TIFFquery.3t index f0b0c8e7..5d4865f4 100644 --- a/man/TIFFquery.3t +++ b/man/TIFFquery.3t @@ -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) 1991-1997 Silicon Graphics, Inc. @@ -107,10 +107,10 @@ Zero is returned if the image data is organized in strips. .IR TIFFIsByteSwapped returns a non-zero value if the image data was in a different byte-order than the host machine. -Zero is returned if the image data and local host byte-orders -are the same. -Data samples that are more than 8 bits wide must be byte-swapped -by the application. +Zero is returned if the TIFF file and local host byte-orders +are the same. Note that TIFFReadTile(), TIFFReadStrip() and +TIFFReadScanline() functions already normally perform byte +swapping to local host order if needed. .PP .I TIFFIsUpSampled returns a non-zero value if image data returned through the