xmp to iptc...easily ???
Moderators: helmut, XnTriq, xnview
xmp to iptc...easily ???
I did a mistake writing keywords in photoshop and now these keywords are shown only in xmp field, but not in the iptc field.
So my question is: How to copy or move these keywords from xmp so that they will also be seen as iptc ?
So my question is: How to copy or move these keywords from xmp so that they will also be seen as iptc ?
Pierre, have you an idea if you want to integrate that functionality (Xmp to IPTC), and if yes when ?
Because I really need this functionality...
I have found something who can do that (ExifTool), I think, but it seems not simple at all to use it and I don't success until now
So if you don't want to do it soon (and I can understand it, you can have other priorities !), I will continue to try using ExifTool. But if you want to do it soon, I will wait
Because I really need this functionality...
I have found something who can do that (ExifTool), I think, but it seems not simple at all to use it and I don't success until now

So if you don't want to do it soon (and I can understand it, you can have other priorities !), I will continue to try using ExifTool. But if you want to do it soon, I will wait

Hello,
You can use exiftool.exe (available as a stand-alone Windows executable)
http://www.sno.phy.queensu.ca/~phil/exi ... l-7.00.zip
(Then Rename "exiftool(-k).exe" to "exiftool.exe").
And these 2 extra files in the same directory (iptc2xmp.args and xmp2iptc.args, here).
http://www.sno.phy.queensu.ca/~phil/exi ... .00.tar.gz
convert iptc to xmp for a.jpg file :
exiftool -tagsFromFile a.jpg -@ iptc2xmp.args -iptc:all= a.jpg
convert xmp to iptc:
exiftool -tagsFromFile a.jpg -@ xmp2iptc.args -xmp:all= a.jpg
iptc and xmp (créated from iptc):
exiftool -tagsFromFile a.jpg -@ iptc2xmp.args -iptc:= a.jpg
For help:
http://www.sno.phy.queensu.ca/~phil/exi ... l_pod.html
http://www.sno.phy.queensu.ca/~phil/exiftool/
-----------------------------------------------------------------
Pierre
It will be nice also to have a link in XnView to show exiftool Composite data of a photo (like the "i" hotkey - information):
exiftool -a -u -g1 -ext .JPG * -w .txt "G:\dir\photo\a.jpg"
.....
---- Composite ----
Circle Of Confusion : 0.005 mm
Focal Length : 16.7mm (35mm equivalent: 99.1mm)
Scale Factor To 35mm Equivalent : 5.9
Hyperfocal Distance : 16.68 m
Light Value : 8.4
Aperture : 3.3
Shutter Speed : 1/125
GPS Date/Time : 2007:11:08 16:49:15
GPS Position : 47 deg 13' 35.26" N, 1 deg 33' 36.66" W
http://www.sno.phy.queensu.ca/~phil/exi ... onfig.html
You can use exiftool.exe (available as a stand-alone Windows executable)
http://www.sno.phy.queensu.ca/~phil/exi ... l-7.00.zip
(Then Rename "exiftool(-k).exe" to "exiftool.exe").
And these 2 extra files in the same directory (iptc2xmp.args and xmp2iptc.args, here).
http://www.sno.phy.queensu.ca/~phil/exi ... .00.tar.gz
convert iptc to xmp for a.jpg file :
exiftool -tagsFromFile a.jpg -@ iptc2xmp.args -iptc:all= a.jpg
convert xmp to iptc:
exiftool -tagsFromFile a.jpg -@ xmp2iptc.args -xmp:all= a.jpg
iptc and xmp (créated from iptc):
exiftool -tagsFromFile a.jpg -@ iptc2xmp.args -iptc:= a.jpg
For help:
http://www.sno.phy.queensu.ca/~phil/exi ... l_pod.html
http://www.sno.phy.queensu.ca/~phil/exiftool/
-----------------------------------------------------------------
Pierre
It will be nice also to have a link in XnView to show exiftool Composite data of a photo (like the "i" hotkey - information):
exiftool -a -u -g1 -ext .JPG * -w .txt "G:\dir\photo\a.jpg"
.....
---- Composite ----
Circle Of Confusion : 0.005 mm
Focal Length : 16.7mm (35mm equivalent: 99.1mm)
Scale Factor To 35mm Equivalent : 5.9
Hyperfocal Distance : 16.68 m
Light Value : 8.4
Aperture : 3.3
Shutter Speed : 1/125
GPS Date/Time : 2007:11:08 16:49:15
GPS Position : 47 deg 13' 35.26" N, 1 deg 33' 36.66" W
http://www.sno.phy.queensu.ca/~phil/exi ... onfig.html
XnViewMP Linux X64 - Debian - X64
Thanks for the help on exiftool !
I have add -P and -overwrite_original option, and I have changed the xmp2iptc file to have only keywords copied from XMP data.
It seems it works nice for one file
myxmp2iptc.args :
But how can I use the recursive command (-r) in this command to have all my image changed in my big "My Pictures" directory ?
And how can I be sure I don't lost any iptc or xmp information in my files ?
I have add -P and -overwrite_original option, and I have changed the xmp2iptc file to have only keywords copied from XMP data.
It seems it works nice for one file

Code: Select all
exiftool -tagsFromFile a.jpg -@ myxmp2iptc.args -P -overwrite_original a.jpg
Code: Select all
-XMP-dc:Subject > IPTC:Keywords
And how can I be sure I don't lost any iptc or xmp information in my files ?
I do not know, maybe ask on exiftool forumpilpil wrote: ....
But how can I use the recursive command (-r) in this command to have all my image changed in my big "My Pictures" directory ?
And how can I be sure I don't lost any iptc or xmp information in my files ?
or
dir /B /ON *.jpg > list.txt
copy the list on excel (or open office)in a1, then
in b1: =concatener("exiftool -tagsFromFile";a1;" -@ iptc2xmp.args -iptc:all= ";a1)
copy this formule to the and of the excel list,
and copy the result to a batch file (*.bat) to have:
exiftool -tagsFromFile xxx000.jpg -@ iptc2xmp.args -iptc:all= xxx000.jpg
exiftool -tagsFromFile xxx001.jpg -@ iptc2xmp.args -iptc:all= xxx001.jpg
...
exiftool -tagsFromFile xxx200.jpg -@ iptc2xmp.args -iptc:all= xxx200.jpg
then run the batch and wait....
(do a test before with some *.jpg files)
XnViewMP Linux X64 - Debian - X64
Ok thanks, batch file is a good idea.oops66 wrote:I do not know, maybe ask on exiftool forumpilpil wrote: ....
But how can I use the recursive command (-r) in this command to have all my image changed in my big "My Pictures" directory ?
And how can I be sure I don't lost any iptc or xmp information in my files ?
or
dir /B /ON *.jpg > list.txt...
And I was not aware there was a exiftool forum, I wil try this also.