AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.06.16 16:37 "[Tiff] about the TIFFSetField usage", by He Yang
2012.06.16 17:00 "Re: [Tiff] about the TIFFSetField usage", by Frank Warmerdam
2012.06.17 19:47 "Re: [Tiff] Tiff Digest, Vol 97, Issue 5", by He Yang
2012.06.18 13:15 "Re: [Tiff] Tiff Digest, Vol 97, Issue 5", by Olivier Paquet

2012.06.16 16:37 "[Tiff] about the TIFFSetField usage", by He Yang

Hi
    I am a beginner, an try to learn how to use TIFFSetField usage, I
try to use TIFFSetField as below

      TIFFSetField(tif, tag, count, vlaue_ptr);

it works, but the value is not correct when I try to use TIFFGetField, the count = 1, and the vlaue_ptr is the pointer of a short value, which value equal to 16, but when I read it back it become 1. What I did wrong?

Thanks in advance.