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
April 2009

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

2009.04.16 05:57 "Re garding TIFFRewriteDirectory", by <munmun.gangwal@wipro.com>
2009.04.16 13:39 "Re: Re garding TIFFRewriteDirectory", by Frank Warmerdam

2009.04.16 13:39 "Re: Re garding TIFFRewriteDirectory", by Frank Warmerdam

Munmun wrote:
> 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.

Munmun,

It would be helpful if you could provide a minimal code example and an input
file that demonstrate the effects you are encountering.  I might well need
to run things in the debugger to analyse the problem.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent