- 2004.07.26 13:25 "Re: [Tiff] Is this possible by using LibTiff?", by Joris Van Damme
2004.07.26 16:35 "Re: [Tiff] Is this possible by using LibTiff?", by David Christopher Asher
# 1. Is it possible to just store the Tiff Directory with all tags except-the-image-pixel-data, so that I can later easily recreate a Tiff with same characteristics as the original file?
I don't think exactly this functionality is included in LibTiff. I wouldn't advice this exact way of doing it, anyhow. Either
- the tags-except-image-pixel data stuff is fixed. In that case, hard-code it
- the tags-except-image-pixel data stuff is flexible. Perhaps there's a UI
Unless I am missing something, couldn't you simply write out a small, say, 1 pixel by 1-pixel image with the color table and any other tags. The only thing you would need to change/remember is the image dimensions or other size-related tags (if they are not fixed). Perhaps you could encode them in the filename if you have no other way of remembering them, like "IMAGENAME01234_1024_768.tiff" or something.
Dave