| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2004.07.06 15:23 "Re: TIFFINFO", by Frank WarmerdamDavis, 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 |
|||||||