2006.10.31 01:34 "[Tiff] Reading Photoshop Proprietary Tag 37724", by Olumide

2006.10.31 01:34 "[Tiff] Reading Photoshop Proprietary Tag 37724", by Olumide

Hello -

New LibTIFF programmer here, I'm trying to read the Photoshop Tag 37724 in order to get at Image Layer data. Here's my snip of my attempt:

        uint16 data = 0;
        void*  count;
        TIFF* tiff = TIFFOpen("psdTIFF_File.tif", "r");

        TIFFGetField(tiff, 37724, &data, &count);
        printf("%d\n", data);

        TIFFClose(tiff);

The result: 27080. The question now is, I'm not quite sure how to proceed from here. Hints please anyone?

Thanks

- Olumide