December 11, 200817 yr 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
December 11, 200817 yr Author @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, 200817 yr by tireless
December 11, 200817 yr 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, 200817 yr by jaclaz
December 12, 200817 yr Author 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.
December 12, 200817 yr 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, 200817 yr by jaclaz
Create an account or sign in to comment