2007.03.23 20:33 "[Tiff] add tag to tiff image", by Varun Reddy

2007.03.25 14:09 "Re: [Tiff] add tag to tiff image", by Varun Reddy


I tried to use tiffset to add a tag and i got the following error:

varun@varun-laptop:~/Desktop/osivtest$ tiffset -s 65000 100 flap0.tif TIFFFieldWithTag: Internal error, unknown tag 0xfde8. Field name 65000 not recognised.

Is this because the 65000 tag is not already present in the image? If so is there a way i can add this tag?


On 3/24/07, Andrey Kiselev <dron@ak4719.spb.edu> wrote:

On Fri, Mar 23, 2007 at 04:33:56PM -0400, Varun Reddy wrote:

I would like to add a tag to a tiff image. The tag is 'Tag 65000: 100'. I want to do this to set of files in a folder. Is there a way to do this? I anyone has code for this i would much appreciate it.

libtiff contains tiffset utility which can be used for that purpose. Also it can be a sample if you need to write your own code.