2009.04.16 05:57 "[Tiff] Re garding TIFFRewriteDirectory", by Munmun

2009.04.16 05:57 "[Tiff] Re garding TIFFRewriteDirectory", by Munmun

Hello,

I am using Libtiff version 4.0.0 in my application. I have a requirement of updating frames and custom tags for a tiff image. I update a frame using TIFFRewriteDirectory function. If i dont use this function the image gets corrupted. For a 16 bit tiff image, this approach has no problem. For 8 bit tiff image, if i update a frame and call TIFFRewriteDirectory, the frame does not get updated. If i do not call TIFFRewriteDirectory, the frame gets updated but the file gets corrupted.

I am not sure whether the approach which i have taken is correct. Any suggestions are welcome.

Regards,
Munmun

--

View this message in context: http://www.nabble.com/Regarding-TIFFRewriteDirectory-tp23060096p23060096.html Sent from the Tiff / LibTiff mailing list archive at Nabble.com.