I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2007-03-12 19:57:41-07 by airjrdn
Trouble copying from ImageDescription to Keywords
I'm using Windows version 6.78. The command I'm running is:
exiftool "-IPTC:ImageDescription>IPTC:Keywords" -r .
What I get is:
Warning: [minor] Possibly incorrect maker notes offsets (fix by -4294954812?) - ./Copy of IMG_1053. +jpg Warning: [minor] Possibly incorrect maker notes offsets (fix by -4294958969?) - ./IMG_1053.jpg 1 directories scanned 0 image files updated 2 image files unchanged
I tried:
exiftool "-IPTC:ImageDescription>IPTC:Keywords" -r @ -makernotes -F .
based on a suggestion in another post, but when running that, I get:
Error: Error opening file - @ Warning: [minor] Adjusted MakerNotes base by -4294954812 - ./Copy of IMG_1053.jp g Warning: [minor] Adjusted MakerNotes base by -4294958969 - ./IMG_1053.jpg 1 directories scanned 2 image files updated 1 files weren't updated due to errors
Again, my goal is to copy what shows up in either "Image Description" or "User Comment" to Keywords. I'd like to do this recursively. Also, can you tell me if the file is being recompressed when utilizing exiftool this way? Thanks in advance,
Direct Responses: 4552 | 4554 | Write a response
Posted on 2007-03-13 11:32:03-07 by airjrdn in response to 4547
Re: Trouble copying from ImageDescription to Keywords
This appears to be working:
exiftool "-EXIF:UserComment>IPTC:Keywords" -r @ -makernotes -F -overwrite_original .
But I'm getting messages like this, so I'm not totally sure:
Error: Error opening file - @ 33 directories scanned 193 image files updated 5 image files unchanged 1 files weren't updated due to errors
Direct Responses: 4555 | Write a response
Posted on 2007-03-13 11:43:43-07 by exiftool in response to 4547
Re: Trouble copying from ImageDescription to Keywords
Hi,

Your problem is simple: ImageDescription is not an IPTC tag. Try this instead:

exiftool "-ImageDescription>IPTC:Keywords" -r .

- Phil
Direct Responses: Write a response
Posted on 2007-03-13 12:46:47-07 by exiftool in response to 4552
Re: Trouble copying from ImageDescription to Keywords
The "@" on the command line is meaningless unless it immediately follows the "-tagsfromfile" option. As you have it, the "@" is interpreted as a file name.

And the "-makernotes" will is unnecessary unless you want to rebuild the maker notes for these files.

- Phil
Direct Responses: 4556 | Write a response
Posted on 2007-03-13 13:16:15-07 by airjrdn in response to 4555
Re: Trouble copying from ImageDescription to Keywords
Thank you for responding, and for the excellent tool! I just stumbled across it yesterday and am already attempting to put it to good use.

I'm using it to augment the capabilities of ACDSee. I'm uploading images to Fotki while retaining the categorizing work I've done in ACDSee. From what I've seen so far, the performance is very good. I used exiftool on nearly 3000 images in subfolders and I think it only took around 5 minutes or so to accomplish what I needed. A tad faster than doing it manually. :)
Direct Responses: Write a response