From d6b02e26e58a3098f8a827ea25de6da7c05d9ddc Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Mon, 16 Aug 1999 17:43:03 +0000 Subject: [PATCH] added ReadRGBAStrip/Tile support --- libtiff/tiffio.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libtiff/tiffio.h b/libtiff/tiffio.h index 43d1d854..8a449ba2 100644 --- a/libtiff/tiffio.h +++ b/libtiff/tiffio.h @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tiffio.h,v 1.1 1999-07-27 21:50:27 mike Exp $ */ +/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tiffio.h,v 1.2 1999-08-16 17:43:03 warmerda Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -164,6 +164,9 @@ struct _TIFFRGBAImage { uint32** BWmap; /* black&white map */ uint32** PALmap; /* palette image map */ TIFFYCbCrToRGB* ycbcr; /* YCbCr conversion state */ + + int row_offset; + int col_offset; }; /* @@ -266,6 +269,9 @@ extern int TIFFReadScanline(TIFF*, tdata_t, uint32, tsample_t); extern int TIFFWriteScanline(TIFF*, tdata_t, uint32, tsample_t); extern int TIFFReadRGBAImage(TIFF*, uint32, uint32, uint32*, int); #endif + +extern int TIFFReadRGBAStrip(TIFF*, tstrip_t, uint32 * ); +extern int TIFFReadRGBATile(TIFF*, uint32, uint32, uint32 * ); extern int TIFFRGBAImageOK(TIFF*, char [1024]); extern int TIFFRGBAImageBegin(TIFFRGBAImage*, TIFF*, int, char [1024]); extern int TIFFRGBAImageGet(TIFFRGBAImage*, uint32*, uint32, uint32);