2006.02.07 10:26 "[Tiff] Re: Mega newbie question", by Dermot Paikkos
2006.02.07 13:38 "Re: [Tiff] Re: Mega newbie question", by Joris Van Damme
Dermot,
> TIFFGetField(tif, TIFFTAG_PHOTOSHOP, &count, &data)
printf("Size of PhotoShop Tag is %d bytes. Type is %d\n", count,
data);
> Size of PhotoShop Tag is 6134 bytes. Type is 136490136
Of course, you probably realize, 136490136 is not the 'type', but the address of the data as maintained in memory by LibTiff. So consult *data, but don't free the memory or anything.
Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html