AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.01.20 15:40 "Reading Custom Tags", by David Christopher Asher
2004.01.20 17:14 "Re: Reading Custom Tags", by Frank Warmerdam
2004.01.20 20:10 "Re: Reading Custom Tags", by Antonio Scuri
2004.01.20 20:46 "Re: Reading Custom Tags", by David Christopher Asher
2004.01.23 22:14 "Re: Reading Custom Tags", by Pushkar Pradhan
2004.01.24 00:50 "Re: Reading Custom Tags", by Antonio Scuri

2004.01.24 00:50 "Re: Reading Custom Tags", by Antonio Scuri

At 16:40 20/1/2004, David Christopher Asher wrote:
> Hello,
>
> I am having sime trouble reading custom tags from a TIFF file.  The tags are
> two GeoTIFF tags, (33550 and 33922), which hold 3 doubles and 6 doubles
> respectively.  I have found very little documentation on custom tags online,
> apart from the 3.6.0 spec notes page, which would seem to indicate you read
> them more or less like standard tags like TIFFTAG_IMAGEWIDTH.
>
> So, I use something like:
>
>     ...
>     double x,y,z;
>     TIFFGetField(tiff,33550,&x,&y,&z);
>     ...
>
> I am using version 3.6.0 of the library.  Any help is appreciated!

You should upgrade to version 3.6.1 and change your code to:

     double *dbl_array;
     unsigned short count;
     TIFFGetField(tiff,33550,&count, &dbl_array);

Best,
Antonio Scuri