Page 1 of 1

Problems with iptc_set 118

Posted: Mon Oct 15, 2012 8:37 am
by Peter2
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

Re: Problems with iptc_set 118

Posted: Mon Oct 15, 2012 10:25 am
by Peter2
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

Re: Problems with iptc_set 118

Posted: Tue Oct 16, 2012 2:12 pm
by xnview
It uses the decimal value of field
You can set Contact with '-iptc_set 118'?? 27 is 'content location name'

Re: Problems with iptc_set 118

Posted: Tue Oct 16, 2012 3:28 pm
by Peter2
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