Message-ID: 538.258T2787T2814813info@ar-kleinert.de
To: "Mccarty Michael J" <mccarty.mj@mellon.com>
Subject: Re: RowsPerStrip -- tiffdump vs. TIFFGetField
From: Andreas_Kleinert@t-online.de (Andreas R. Kleinert)
Date: 11 Aug 2000 4:41:55 +0100
Cc: tiff@olympiakos.com
In-Reply-To: <20000810221037.21670.qmail@mellon.com>
Sender: owner-tiff@olympiakos.com


>    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 ?


