edit IPTC values (metadata)

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

rItlha'
Posts: 5
Joined: Tue Mar 24, 2015 3:10 pm

edit IPTC values (metadata)

Post by rItlha' »

Hi,
I want to edit several metadata of a jpeg picture.
I constructed this working example command from what I found elsewhere in this forum

Code: Select all

nconvert -iptc_add 25 "keyword 1"  file.jpg
So I guess, the 25 is telling nconvert, that it should add a keyword.
Where can I find a list, which numbers represent which values? And which values go with -iptc_set?

Thanks for your help!
- rItlha'
cday
XnThusiast
Posts: 4306
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: edit IPTC values (metadata)

Post by cday »

rItlha' wrote:Where can I find a list, which numbers represent which values? And which values go with -iptc_set?
You can use this code to generate a listing of the NConvert commands:

Code: Select all

nconvert -help > nconvert_Help.txt
rItlha'
Posts: 5
Joined: Tue Mar 24, 2015 3:10 pm

Re: edit IPTC values (metadata)

Post by rItlha' »

Yes, that way I get all commands listed, including the
  • -iptc_set tag value : Set value to IPTC tag
    -iptc_add tag value : Add value to IPTC tag
But how do I get the "tag" lists? Like how do I know, 25=keyword.
I want to add not only keywords, but also title, author, description and there might come more.
So what number/tag do I use for title, for author, for description ...
rItlha'
Posts: 5
Joined: Tue Mar 24, 2015 3:10 pm

Re: edit IPTC values (metadata)

Post by rItlha' »

Hi again,
well I solved the riddle. My mistake - I thought the tags are nConvert specific, but they are IPTC standard.
So I found a list on the web (http://www.sno.phy.queensu.ca/~phil/exi ... /IPTC.html) where many tags are listed.

Anyway, Thanks cday for trying to help :)

- rItlha'