How to remove Tag 269 DocumentName from Tiff file

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
LongTran
Posts: 2
Joined: 2014-07-22T13:12:08-07:00
Authentication code: 6789

How to remove Tag 269 DocumentName from Tiff file

Post by LongTran »

Hello,

When I use Linux command tiffinfo to display the information about a tif document, there is a tag called
DocumentName.
This tag shows the absolute pathname of the current tiff file

I would like to remove this tag

I have tried the command convert… +set but I think I set up the parameters incorrectly and the result still shows the DocumentName

For example

convert +set "DocumentName" /tmp/in.tif /tmp/out.tif

I have tried this but it does not work either

convert +set "EXIF:DocumentName" /tmp/in.tif /tmp/out.tif

Any pointers, URL links to documents or examples would be greatly appreciated.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How to remove Tag 269 DocumentName from Tiff file

Post by fmw42 »

I don't think you can do that with IM. But you should with EXIFTOOL.
LongTran
Posts: 2
Joined: 2014-07-22T13:12:08-07:00
Authentication code: 6789

Re: How to remove Tag 269 DocumentName from Tiff file

Post by LongTran »

I tried EXIFTOOL and it does what I need - add, modify, remove tags.
Thank you for your help.
Post Reply