2018.03.10 01:18 "Re: [Tiff] TIFF image is writing less tag entries than original image", by Bhaskar Reddy
Thanks for the tip! Bob Friesenhahn...
I will explore Tiffcp as well.
On Fri, Mar 9, 2018, 19:12 Bob Friesenhahn <email@example.com> wrote:
On Thu, 8 Mar 2018, Bhaskar Reddy wrote:
- I am reading input image (input_image.tiff) which has 17 tags and in Big-endian format and
- Then I wrote the same image (input_image.tiff) to a new image (written_image.tiff) using *Tiffopen(file, "w")*
- Now I got only 12 tags (instead of 17 tags) in Little-endian format when I read the written image (written_image.tiff)
If you use a utility like tiffcp then you are more likely to have most/all the tags in the output file.
If you want to preserve tags, then your writer will need to transcribe them. When you write a TIFF file using libtiff you are writing a new file.