| 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 |
Thread2005.03.03 17:48 "Re: LibTIFF question", by Frank WarmerdamMiklos, 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. It is also possible for you to register the custom tag to have more control, but that is likely overkill in this situation. Also, it would be helpful for you to provide a "tiffdump" of the file with questions like this, or even a small example file with your tag (as an http or ftp link - not in the email). 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 |
|||||||