IPTC/XMP Coutry Code

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Escal21
Posts: 14
Joined: Tue Nov 27, 2012 6:38 am

IPTC/XMP Coutry Code

Post by Escal21 »

Of course, I might be completely out of my mind and/or this section may not be the right place… But still:
— when using the IPTC-IIM/XMP window to set keywords, it turns out that inserting the Country code (with “Insert from” command) does not work
— when using batch convert to achieve the same result, it woks BUT the country code is deleted from the ITPC-IIM data although it is preserved in the XMP…
The xbs code is:
<?xml version="1.0" encoding="UTF-8"?><XnView_script version="1.0" name="Escal XnView MP ITPC XMP">
<IPTC-IIM_XMP id_25="{IPTC:Country Code};{IPTC:Country};{IPTC:State};{IPTC:City};{IPTC:Location};{IPTC:Sublocation};{IPTC:Contact};{IPTC:Copyright}" id_100="" keepKeywords="false" replace="false" mode="1"/>
<Output folder="" filename="{Filename}" case="0">
<Options overwrite="0" orgDate="true" keepMeta="true" keepICC="true" keepFolder="true" delOrg="true" multipage="false" allPages="false" openExplorer="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="0" subSampling="0" smoothFactor="0"/>
<TGA compress="false" bottomUp="false"/>
<TIFF compress="0" quality="80" compressBW="0" oneStrip="false"/>
<BMP compress="false" hdrOS2="false"/>
<PNG level="6" interlaced="false" filter="0"/>
<GIF interlaced="false" hdr87a="false"/>
<PCX compress="false"/>
<WEBP method="0" quality="80" filesize="128"/>
<JP2 mode="0" quality="80" ratio="4" fileSize="100"/>
<PDF compress="0" quality="80"/>
<JXR quality="80" colorFormat="0" filter="0"/>
</Output>
</XnView_script>
What do I do wrong ?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: IPTC/XMP Coutry Code

Post by xnview »

could you sned me the original file that you use?
Pierre.
Escal21
Posts: 14
Joined: Tue Nov 27, 2012 6:38 am

Re: IPTC/XMP Coutry Code

Post by Escal21 »

Hello Mr Gougelet !
Thanks for taking care.
Here are the files…
Attachments
The “original” file with some metadata already entered with the IPTC-IIM / XMP dialog box.
The “original” file with some metadata already entered with the IPTC-IIM / XMP dialog box.
The same “original” file after some keywords have been inserted from Country, State/Province, Location and City using the IPTC-IIM / XMP dialog box ; trying to insert the Country Code in the keywords doesn’t work ; note that inserting keywords that way from Caption, Caption Writer, Contact, Copyright and Headline works ok.
The same “original” file after some keywords have been inserted from Country, State/Province, Location and City using the IPTC-IIM / XMP dialog box ; trying to insert the Country Code in the keywords doesn’t work ; note that inserting keywords that way from Caption, Caption Writer, Contact, Copyright and Headline works ok.
The same “original” file again after some keywords have been inserted from Country Code, Country, State/Province, Location and City using the batch convert process ; keywords correctly include the Country Code as requested, but the same Country Code has now disappeared from the IPTC-IIM metadata.
The same “original” file again after some keywords have been inserted from Country Code, Country, State/Province, Location and City using the batch convert process ; keywords correctly include the Country Code as requested, but the same Country Code has now disappeared from the IPTC-IIM metadata.
The expected result as produced with an Exifool batch…
The expected result as produced with an Exifool batch…
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: IPTC/XMP Coutry Code

Post by xnview »

See Issue 306 for current status and details.
Pierre.
Escal21
Posts: 14
Joined: Tue Nov 27, 2012 6:38 am

Re: IPTC/XMP Coutry Code

Post by Escal21 »

Thanks a lot, Pierre !
Post Reply