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.03 18:04 "Re: [Tiff] LibTIFF question", by Bob Friesenhahn

I think you should be doing something like:

  uint16 count;
  int *data = NULL;

  TIFFGetField( m_TIFF, 50653, &count, &data );

Fields that are not pre-defined are normally treated such that you have to pass the count into TIFFGetField. The returned pointer should be to an internal copy of the tag value.

This feature does not appear to be documented in the manual page.

Bob

======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/