Example to set IPTC

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

Moderators: XnTriq, helmut, xnview

Post Reply
User avatar
Peter2
XnThusiast
Posts: 1328
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Example to set IPTC

Post by Peter2 »

I tried to set IPTC values, but I do not understand ...

- the basic syntax and
- if I can combine tag: nconvert TAG value TAG value TAG value ...
- or if I need a single command for each tag and
- if I have to use 'quotes' or "double quotes"

Thanks for help.

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Example to set IPTC

Post by xnview »

here is an example

Code: Select all

nconvert -iptc_set 52 test -iptc_add 51 test
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1328
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Example to set IPTC

Post by Peter2 »

And where I get the code number (51, 52, ...)? From IPTC-homepage?

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Example to set IPTC

Post by xnview »

yes, or HERE
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1328
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Example to set IPTC

Post by Peter2 »

xnview wrote:yes, or HERE
Thanks. Please add it to the info with is created by "nconvert /?" At the moment it is not clear for the user.

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
Peter2
XnThusiast
Posts: 1328
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Example to set IPTC

Post by Peter2 »

Is it possible to create a new output file? The input-file should stay unchanged, the output is based on the input PLUS IPTC.

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
Peter2
XnThusiast
Posts: 1328
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

-iptc_set 118

Post by Peter2 »

XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Example to set IPTC

Post by xnview »

Peter2 wrote:Is it possible to create a new output file? The input-file should stay unchanged, the output is based on the input PLUS IPTC.
if you use -o ?
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1328
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Example to set IPTC

Post by Peter2 »

xnview wrote:if you use -o ?
No result. I'll send you more info.

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
Post Reply