Problems with iptc_set 118

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

Moderators: Olivier_G, Dreamer, XnTriq, helmut, xnview

Problems with iptc_set 118

Postby Peter2 » Mon Oct 15, 2012 8:37 am

I use
Code: Select all
-iptc_set 118 "MyTestString"
which should be http://www.exiv2.org/iptc.html
Code: Select all
0x0076    118    Iptc.Application2.Contact    String    No    Yes    0    128    Identifies the person or organisation which can provide further background information on the object data.

But analysing it with Exiftool it appears under "Content Location String", exporting it with XnView shows "Location"

:?: :?: :?: :?:

Peter
XnView 2.22 German, Win 7 x64 Prof. & Win XP Home
Peter2
 
Posts: 981
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Problems with iptc_set 118

Postby Peter2 » Mon Oct 15, 2012 10:25 am

Hmmmh - seem to be a problem of Codes ...

What is the right code for "DateCreated": 55 (Dec) or 37 (Hex)?

It seems that I can use Dec-values for "100; 101; 103; 105; 115; 116; 12; 120; 55; 92; "; only "118" (dec - Contact) is converted to 27 (Hex - ContentLocationName)

When I Use "-iptc_set 27", then it creates "Contact".

Bug or Feature?

Peter
XnView 2.22 German, Win 7 x64 Prof. & Win XP Home
Peter2
 
Posts: 981
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Problems with iptc_set 118

Postby xnview » Tue Oct 16, 2012 2:12 pm

It uses the decimal value of field
You can set Contact with '-iptc_set 118'?? 27 is 'content location name'
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 23176
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Problems with iptc_set 118

Postby Peter2 » Tue Oct 16, 2012 3:28 pm

xnview wrote:...You can set Contact with '-iptc_set 118'?? 27 is 'content location name'

Yes. As written above, I use
Code: Select all
'-iptc_set 118 "John Doe, Neverland"',

and when I open it (with different software) I get:
Code: Select all
ContentLocationName: John Doe, Neverland


Peter
XnView 2.22 German, Win 7 x64 Prof. & Win XP Home
Peter2
 
Posts: 981
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH


Return to NConvert

Who is online

Users browsing this forum: No registered users and 1 guest