AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.03.03 17:19 "[Tiff] LibTIFF question", by Kalman Miklos
2005.03.03 17:48 "Re: [Tiff] LibTIFF question", by Frank Warmerdam
2005.03.03 18:04 "Re: [Tiff] LibTIFF question", by Bob Friesenhahn
2005.03.03 18:11 "Re: [Tiff] LibTIFF question", by Kalman Miklos
2005.03.03 18:28 "Re: [Tiff] LibTIFF question", by Frank Warmerdam
2005.03.15 00:38 "Re: [Tiff] LibTIFF question", by Joris Van Damme
2005.03.15 07:56 "Re: [Tiff] LibTIFF question", by Frank Warmerdam
2005.03.15 16:06 "Re: [Tiff] LibTIFF question", by Joris Van Damme
2005.03.15 16:15 "Re: [Tiff] LibTIFF question", by Frank Warmerdam
2005.03.15 16:34 "Re: [Tiff] LibTIFF question", by Bob Friesenhahn

2005.03.15 16:15 "Re: [Tiff] LibTIFF question", by Frank Warmerdam

I believe you would call the _TIFFFindFieldInfo() function:

Thank you for excellent reply.

As a sidenote, I'm seeing this declaration in tiffio.h:

extern const TIFFFieldInfo* TIFFFindFieldInfo(TIFF*, ttag_t, TIFFDataType);

This seems covered by this define in tif_dir.h:

#define _TIFFFindFieldInfo     TIFFFindFieldInfo

Is why I thought the function, or at least the version without underscore prefix, was external in LibTiff. I've also treated it as external in LibTiffDelphi.

Joris,

Umm... cool. I wonder why it is complicated like this. Worse yet, I wonder if I did this? I suspect it used to be internal (hence the underscore) and the #define just was a way of transitioning it to external while not having to hunt down all the internal locations that called it _TIFFFindFieldInfo. Still it seems unnecessarily messy.

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