Is this possible by using LibTiff?
I have two questions...
# 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?
# 2. Assuming that I have the above directory of tags, and a buffer
with all the image data... how can i recreate the tiff?
I saw that we have a function ' TIFFRGBAImage ' to read the image data...
But we dont have a corrsponding "write" function. Also, the above
function can cause loss of information/quality if bits per sample is
more than 8.
What will be the best way to solve my problem?