jaclaz Posted December 11, 2008 Posted December 11, 2008 Oh, comeon, 5 minutes of Google away :EXIFTOOL:http://www.sno.phy.queensu.ca/~phil/exiftool/http://newsgroup.xnview.com/viewtopic.php?p=66939http://code.google.com/p/xptoiptc/jaclaz
tireless Posted December 11, 2008 Author Posted December 11, 2008 (edited) @jaclaz:Thanks.Could you tell me which command to use?Following code doesn't work:exiftool -Comment="This is a new comment" dst.jpg Edited December 11, 2008 by tireless
jaclaz Posted December 11, 2008 Posted December 11, 2008 (edited) Well, NO, it works , but it updates ANOTHER field, the "Comment" one, NOT the "XP Comment" one.just run these on a "clean" .jpgexiftool dst.jpgexiftool -Comment="This is a new comment in the comment field" dst.jpgexiftool dst.jpgexiftool -XPComment="This is a new comment in the XP comment field" dst.jpgexiftool dst.jpgjaclazP.S.: if this:http://newsgroup.xnview.com/viewtopic.php?p=66939is not "accurate" enough, try this:http://newsgroup.xnview.com/viewtopic.php?t=15925and particularly this :http://newsgroup.xnview.com/viewtopic.php?...25&start=11http://www.sno.phy.queensu.ca/~phil/exifto...Names/EXIF.html Edited December 11, 2008 by jaclaz
tireless Posted December 12, 2008 Author Posted December 12, 2008 can not support Chinese characters:d:\exiftool-7.57>exiftool -XPComment="测试" dst.jpgMalformed UTF-8 character (1 byte, need 2, after start byte 0xd4) in unpack in IFD0:XPComment (ValueConvInv)Nothing to do.
jaclaz Posted December 12, 2008 Posted December 12, 2008 (edited) can not support Chinese characters:Hmm http://www.sno.phy.queensu.ca/~phil/exifto...Names/EXIF.html(tags 0x9c9b-0x9c9f are used by Windows Explorer; special characters in these values are converted to UTF-8 by default, or Windows Latin1 with the -L option. XPTitle is ignored by Windows Explorer if ImageDescription exists)Could it be some kind of mis-match with codepage in the CMD window or something weird like ANSI/ASCII? (read DOS as opposed to Windows source) Try the other way, i.e. put your comment with XP GUI on the image and read it through EXIF.It is possible that a conversion is needed.....Or try putting your comment in notepad and save it as UTF-8, then "feed" the file to EXIF through redirection....jaclazP.S.: I guess you can use chcp and python:http://coding.derkeiler.com/Archive/Python...0/msg00141.htmlbut not really my field.I guess that on Chinese Forums this problem has come out and has been resolved already. Edited December 12, 2008 by jaclaz
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now