2018.02.24 05:34 "[Tiff] writing custom tags to Tiff file and reading out", by Bhaskar Reddy

2018.02.24 05:34 "[Tiff] writing custom tags to Tiff file and reading out", by Bhaskar Reddy

Hi,

I am trying to add custom tags to a tiff file.

I am able to merge the custom fields to TIFFFields using TIFFMergeFieldInfo, but not able to write it out to tiff file.

Anyone has an idea about how to write the merged information to Tiff and read it back the custom fields.

I need a similar program like this https://stackoverflow.com/questions/24059421/adding-custom-tags-to-a-tiff-file

Note: In above program, I am not able to find the function definition for "

readFromPGM(&nx, &ny, &image, "TestImage.pgm");"

Thanks,
Bhaskar.