Bug #485
Weird behaviour when Exif comments contain quotes
Start date:
Due date:
% Done:
0%
Estimated time:
Description
I'm trying to add exif comments to a bunch of files and I found some
weird behavior.
Works fine!
exiv2 -M "set Exif.Photo.UserComment This is my comment" file.jpg
Works fine! (quoted my)
exiv2 -M "set Exif.Photo.UserComment This is \"my\" comment" file.jpg
Broken (quoted comment)
exiv2 -M "set Exif.Photo.UserComment This is my \"comment\"" file.jpg
It seems if the FINAL character of the comment is a " character the
parser gets confused. I can "work around" the bug by doing:
Work Around (last char not ")
exiv2 -M "set Exif.Photo.UserComment This is my \"comment\"." file.jpg
Is this normal?
Scott