2000.08.10 22:06 "RowsPerStrip -- tiffdump vs. TIFFGetField", by Mccarty Michael J

2000.08.11 03:41 "Re: RowsPerStrip -- tiffdump vs. TIFFGetField", by Andreas R. Kleinert

in = TIFFOpen( "doctemp.tif", "r" );

That better should be "rb".

TIFFGetField( in, TIFFTAG_ROWSPERSTRIP, &rps );

Checking "in" for being != NULL and checking the return value of TIFFGetField() would be a good idea.

Andreas_Kleinert@t-online.de  | http://www.ar-kleinert.de             |
Freelance Consultant & Writer | Software Engineering                  |
 *** PerSuaSiVe SoftWorX ***  | x86 Win/Linux, 68k/PPC Amiga and more |

Already signed http://petition.eurolinux.org against SWPAT?