2004.07.05 23:46 "[Tiff] TIFFINFO", by Sam Davis

2004.07.06 15:23 "Re: [Tiff] TIFFINFO", by Frank Warmerdam

I think the tiffinfo program could be very useful to me but can't seem to get the "-i" switch to work. It would be great to be able to launch it from another app to get info about a tiff file but keep getting popups of warnings and when I tried to use the "-i" switch it tells me that this is not a valid option. Please help


I see the "i" flag is missing from the getopt call. I have added this in CVS. The change looks like this:

diff -r1.5 tiffinfo.c
<       while ((c = getopt(argc, argv, "f:o:cdDSjlmrsvwz0123456789")) != -1)
 >       while ((c = getopt(argc, argv, "f:o:cdDSjilmrsvwz0123456789")) != -1)

With this change the -i flag seems to be accepted, and I see there is support in the code to check for it though I haven't really tested it properly.

Best regards,

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent