AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
July 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.07.05 23:46 "TIFFINFO", by Sam Davis
2004.07.06 15:23 "Re: TIFFINFO", by Frank Warmerdam

2004.07.06 15:23 "Re: TIFFINFO", by Frank Warmerdam

Davis, Sam wrote:
> 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

Sam,

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
56c56
<       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