PhotoEffect Tag Problem With Canon G9

Started by Archive, May 12, 2010, 08:54:12 AM

Previous topic - Next topic

Archive

[Originally posted by louie on 2007-11-27 04:59:58-08]

Code:
Hello,

I'm pretty much a newbie at ExifTool so I'm probably doing something wrong.

I'm trying to access the Canon PhotoEffect field in a JPG file generated by my Canon G9.
A simplified version of my command is:

Exiftool -k -P -overwrite_original_in_place "-EXIF:UserComment<Effect=$Canon:PhotoEffect Contr=$Canon:Contrast" *.jpg

The error message that I get is:
Warning:  [minor] Tag 'Canon:PhotoEffect' not defined - IMG_0001.JPG

If I remove the PhotoEffect portion of the command, the Contrast part works fine.

What am I doing wrong?

--Louie

Archive

[Originally posted by exiftool on 2007-11-27 13:36:40-08]

Hi Louie,

You are doing nothing wrong.  The Canon:PhotoEffect tag doesn't exist in
the file you are writing.  When this happens, exiftool warns that the tag
is not defined and doesn't write the tag.  There are 2 ways around this
if you still want to write the UserComment tag in images where PhotoEffect
doesn't exist:

1) Use the -f option to force a value of '-' for all extracted
tags.  In this case, you will get "Effect=-" in your UserComment.

2) Use the -m option to ignore the minor error.  In this
case you will get "Effect=" in your UserComment.

- Phil

Archive

[Originally posted by louie on 2007-11-28 05:15:34-08]

Code:
Hi Phil,

Thank you very much for your help.

--Louie

PS:  I forgot to mention how great a program ExifTool is!