2005.03.03 17:19 "[Tiff] LibTIFF question", by Kalman Miklos

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 Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/