LastKeywordXMP and LastKeywordIPTC

Started by jonathan_seattle, November 04, 2011, 04:43:49 AM

Previous topic - Next topic

jonathan_seattle

Any reports of being able to read but not write these fields? I can read with no problem, using -s, but writing I get 0 files changed 1 file unchanged. I can write to other fields without any trouble. If I'm the only one with this problem, I'll investigate further. Using 64-bit Windows 7

using:

exiftool.exe -LastKeywordXMP= myImage.jpg

or

exiftool.exe -LastKeywordXMP=JustOne myImage.jpg

Thanks.

Phil Harvey

This should work.  What version of exiftool are you using?  (run "exiftool -ver")

> exiftool -ver
8.68

> exiftool -LastKeywordXMP=JustOne a.jpg
    1 image files updated

> exiftool -LastKeywordXMP a.jpg
Last Keyword XMP                : JustOne


- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

jonathan_seattle

Thanks.  It must be that the image data was corrupted as exiftool 8.68 works fine with other files. I was testing metadata editors from other sources (PhotoInfoEX, Portfolio, etc.) on this one file.  Going back to the original jpg file, exiftool works fine.  Just an FYI, here is what I was seeing - it looks like it thinks it is updating the field but it doesn't:

exiftool -LastKeywordXMP ei0001436.jpg
Last Keyword XMP                : 20-24 years, african ethnicity, beauty, Brazil
, close up, color image, confidence, glamour, head and shoulders, latin american
and hispanic ethnicity, latina, Michael Poehlman, mixed race person, one person
, one young woman only, people, photography, portrait, Sao Paulo, serious, studi
o shot, thinking, vertical, white background, woman, young adult

exiftool -LastKeywordXMP=JustOne ei0001436.jpg
    1 image files updated

exiftool -LastKeywordXMP ei0001436.jpg
Last Keyword XMP                : 20-24 years, african ethnicity, beauty, Brazil
, close up, color image, confidence, glamour, head and shoulders, latin american
and hispanic ethnicity, latina, Michael Poehlman, mixed race person, one person
, one young woman only, people, photography, portrait, Sao Paulo, serious, studi
o shot, thinking, vertical, white background, woman, young adult

I could send you the file but it is 14MB.

Thanks a lot.
-Jonathan

Phil Harvey

Hi Jonathan,

Try using the -a option when you extract the information.  Read FAQ number 3 for help with this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

#4
I was in a rush when I wrote my last response.  I was assuming that the information was hiding in some non-standard place and that ExifTool was writing only to the standard location.  Could you paste the output of "exiftool -v" run on the file so I can have some more details about where this information is hiding?  It would be good to know where this is. Thanks.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).