AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.06.07 11:39 "[Tiff] Editing a tiff image using libtiff", by Sachin Garg
2006.06.07 12:51 "Re: [Tiff] Editing a tiff image using libtiff", by Joris Van Damme
2006.06.12 13:59 "Re: [Tiff] Editing a tiff image using libtiff", by Sachin Garg
2006.06.12 15:09 "Re: [Tiff] Editing a tiff image using libtiff", by Joris Van Damme
2006.06.13 07:29 "RE: [Tiff] Editing a tiff image using libtiff", by Tillaart, Rob van den
2006.06.13 16:02 "Re: [Tiff] Editing a tiff image using libtiff", by Joris Van Damme
2006.06.13 08:32 "Re: [Tiff] Editing a tiff image using libtiff", by Gerben Vos
2006.06.13 08:55 "RE: [Tiff] Editing a tiff image using libtiff", by Tillaart, Rob van den
2006.06.13 16:04 "Re: [Tiff] Editing a tiff image using libtiff", by Joris Van Damme
2006.06.14 09:08 "Re: [Tiff] Editing a tiff image using libtiff", by Gerben Vos

2006.06.07 11:39 "[Tiff] Editing a tiff image using libtiff", by Sachin Garg

I am coding an application where I want to do a minor edit in a tiff image. The problem is that even a minor edit can change the compressed image size, and this will mean that all the offsets everywhere to all the tags/values after the compressed image data will have to updated.

afaik, libtiff rewrites the entire tiff image with the directory at the end. However in cases where a user might have structured a tiff file as per his specific requirements, such restructuring for a minor edit may be too much to ask.

I will like to be able to do this minor image edit while maintaining the existing tiff structure, but updating all the offsets seems an overwhelming task. Any suggestions on how I should tackle this situation?

Unfortunately it seems I will not be able to use libtiff here.

Sachin Garg [India]
www.sachingarg.com | www.c10n.info