{"id":64,"date":"2007-05-13T16:05:47","date_gmt":"2007-05-13T08:05:47","guid":{"rendered":"http:\/\/broso.twbbs.org\/blojsom\/blog\/default\/MyEOS\/?permalink=EXIFTool.html"},"modified":"2007-05-13T16:05:47","modified_gmt":"2007-05-13T08:05:47","slug":"exiftool","status":"publish","type":"post","link":"https:\/\/cychien.tw\/wordpress\/2007\/05\/13\/exiftool\/","title":{"rendered":"EXIFTool"},"content":{"rendered":"<link rel=\"stylesheet\" type=\"text\/css\" href=\"\/blojsom\/resources\/default\/java.css\" \/>\n\u904e\u53bb\u62cd\u5b8c raw \u6a94\uff0c\u56de\u4f86\u5f8c\u88fd\u8f49\u6a94\u70ba jpeg \u6642\uff0c\u5e38\u7528\u7684\u8edf\u9ad4\u662f BreezeBrowser Pro<more\/>\uff0c\u9019\u5957\u8edf\u9ad4\u597d\u8655\u662f\u6279\u6b21\u8655\u7406\u65b9\u4fbf\uff0c\u51fa\u53bb\u65c5\u904a\u56de\u4f86\u52d5\u8f12\u4e0a\u767e\u5f35\u7684\u7167\u7247\uff0c\u5982\u679c\u4e00\u5f35\u5f35\u7528 Canon \u9644\u8d08\u7684 DPP \u4f86\u8f49\u6a94\uff0c\u90a3\u4e0d\u77e5\u9053\u8981\u8f49\u5230\u4ec0\u9ebc\u6642\u5019\uff0c\u9019\u6642\u5019\u7528 BreezeBrowser Pro \u5c31\u5f88\u597d\u7528\u3002\u7136\u800c\uff0c\u6211\u89ba\u5f97 BreezeBrowser Pro \u8f49\u51fa\u4f86\u7684 jpeg \u6a94\u756b\u8cea\u7e3d\u662f\u6c92\u6709 DPP \u4f86\u5f97\u7d30\u7dfb\uff0c\u4f46\u662f\u70ba\u4e86\u7bc0\u7701\u6642\u9593\u4f3c\u4e4e\u4e5f\u53ea\u80fd\u66ab\u6642\u59a5\u5354\u3002<\/p>\n<p\/>\n<p>DPP \u5f9e 2.0 \u4ee5\u5f8c\u5c31\u52a0\u5165\u4e86\u6279\u6b21\u8655\u7406\u7684\u529f\u80fd\uff0c\u540c\u6642\u9084\u52a0\u4e0a\u4e86 Canon \u7279\u6709\u7684 Picture Style \u53c3\u6578\u8abf\u6574\uff0c\u65bc\u662f\u6279\u6b21\u8655\u7406\u7167\u7247\u4e0d\u518d\u662f\u5922\u9768\u3002\u6700\u8fd1 DPP \u66f4\u65b0\u63a8\u51fa 3.0 \u7248\u672c\uff0c\u9084\u52a0\u4e0a\u4e86\u96dc\u8a0a\u6291\u5236\u7684\u529f\u80fd\uff0c\u8b93\u539f\u672c\u96dc\u8a0a\u7d14\u6de8\u5ea6\u6709\u6975\u4f73\u8868\u73fe\u7684 Canon CMOS\uff0c\u9019\u4e0b\u5b50\u66f4\u662f\u5982\u864e\u6dfb\u7ffc\u3002<\/p>\n<p\/>\n\u65bc\u662f\u6700\u8fd1\u5e7e\u6b21\u7684\u5f8c\u88fd\uff0c\u5c31\u958b\u59cb\u8f49\u70ba\u4f7f\u7528 DPP \u4f86\u6279\u6b21\u8f49\u6a94\u3002\u4e0d\u904e\u767c\u73fe\u4e86\u53e6\u4e00\u500b\u554f\u984c\uff0cDPP \u4f3c\u4e4e\u8f49\u6a94\u6642\uff0c\u4e26\u4e0d\u6703\u5c07\u6240\u6709\u7684 EXIF tag \u5b8c\u6574\u8907\u88fd\u5230\u8f49\u51fa\u7684 jpeg \u6a94\u4e2d\uff0c\u53ea\u4fdd\u7559\u5c11\u8a31\u91cd\u8981\u7684\u8cc7\u8a0a\uff0c\u4f8b\u5982\uff1a\u66dd\u5149\u6a21\u5f0f\u3001\u767d\u5e73\u8861\u3001\u9583\u71c8\u7b49\u8cc7\u8a0a\u5c31\u4ed8\u4e4b\u95d5\u5982\u3002\u771f\u662f\u6709\u4e00\u597d\u6c92\u5169\u597d\u3002<\/p>\n<p\/>\n\u65bc\u662f\u53c8\u6c42\u52a9\u80a1\u6e9d\u5927\u795e\uff0c\u770b\u770b\u5225\u4eba\u662f\u5982\u4f55\u89e3\u6c7a\u9019\u500b\u554f\u984c\uff0c\u627e\u4e86\u5f88\u4e45\u53ea\u6709\u4eba\u63d0\u5230\u9019\u500b\u554f\u984c\uff0c\u4f46\u4e5f\u6c92\u4eba\u8aaa\u8a72\u600e\u9ebc\u89e3\u3002\u6700\u5f8c\u627e\u5230\u6709\u4eba\u63d0\u5230 <a href=\"http:\/\/www.sno.phy.queensu.ca\/~phil\/exiftool\/\" target=\"_\">EXIFTool<\/a> \u9019\u5957\u5c0f\u5de5\u5177\uff0c\u53ef\u5b8c\u6574\u5f9e raw \u6a94\u8907\u88fd\u6240\u6709\u7684 EXIF tags \u5230\u6307\u5b9a\u7684\u6a94\u6848\u4e2d\uff0c\u65bc\u662f\u5c31\u89e3\u6c7a\u6211\u7684\u554f\u984c\uff0c\u53ea\u8981\u5c07 DPP \u8f49\u51fa\u4f86\u7684 jpeg \u518d\u7528\u9019\u500b\u5c0f\u5de5\u5177\u5f9e raw \u6a94\u5c07 EXIF \u8907\u88fd\u904e\u4f86\u5373\u53ef\uff0c\u800c\u4e14\u9019\u500b\u5de5\u5177\u662f\u7528 perl \u5beb\u7684\uff0c\u6240\u4ee5\u5728 Linux \u4e0a\u5beb\u500b shell script \u53bb\u505a\u6279\u6b21\u8907\u88fd\u66f4\u662f\u6c92\u554f\u984c\u3002<\/p>\n<p\/>\n\u5beb\u4e86\u4e0b\u9762\u7684 script \u4f86\u505a\u6279\u6b21\u8f49\u6a94<\/p>\n<p\/>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\" bgcolor=\"#999999\">\n<tr>\n<td width=\"1\" align=\"left\"  bgcolor=\"#dddddd\" valign=\"top\">\n<pre>\n<font color=\"#555555\">1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/>13<br \/>14<br \/>15<br \/>16<br \/>17<br \/>18<br \/>19<br \/>20<br \/>21<br \/>22<br \/>23<br \/>24<br \/>25<br \/>26<br \/>27<br \/>28<br \/>29<br \/>30<br \/>31<br \/>32<br \/>33<br \/>34<br \/>\n<\/font>\n<\/pre>\n<\/td>\n<td align=\"left\" bgcolor=\"#ffffff\" valign=\"top\">\n<pre>\n<font class=\"java-reserved_word\">\n\n#!\/bin\/sh\n\nif [ $# = 0 ]; then\n    echo \"Usage : copy_exif.sh &lt;RAW_SOURCE_FOLDER&gt;\"\n    exit\nfi\n\nRAW_SOURCE_FOLDER=$1\n\nfor file in `ls *`\ndo\n    if [ -f $file ]; then\n        PREV_FILENAME=`echo $file|awk -F\".\" &#39;{print $1}&#39;`\n        EXT_FILENAME=`echo $file|awk -F\".\" &#39;{print $2}&#39;`\n\n        RAW_FILE_LOWER=$RAW_SOURCE_FOLDER\/$PREV_FILENAME.cr2\n        RAW_FILE_UPPER=$RAW_SOURCE_FOLDER\/$PREV_FILENAME.CR2\n        EXIFTOOL_BACKUP_FILE=`echo \"$file\"_original`\n\n        if [ -f $RAW_FILE_LOWER ]; then\n            echo Copying EXIF tags from $RAW_FILE_LOWER to $file\n            exiftool -TagsFromFile $RAW_FILE_LOWER $file\n            rm $EXIFTOOL_BACKUP_FILE\n        else\n            if [ -f $RAW_FILE_UPPER ]; then\n                echo Copying EXIF tags from $RAW_FILE_UPPER to $file\n                exiftool -TagsFromFile $RAW_FILE_UPPER $file\n                rm $EXIFTOOL_BACKUP_FILE\n            fi\n        fi\n    fi\ndone\n<\/font>\n<\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<p\/>\n\u7528\u6cd5\u70ba\u5728\u8f49\u6a94\u5b8c\u7562\u7684 jpeg \u76ee\u9304\u4e0b\u9762\u57f7\u884c\uff0c\u7d66\u5b9a\u4e00\u500b raw \u6a94\u7684\u4f86\u6e90\u76ee\u9304\u5373\u53ef<br \/>\n<br \/>\ncopy_exif.sh &lt;RAW_SOURCE_FOLDER&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u904e\u53bb\u62cd\u5b8c raw \u6a94\uff0c\u56de\u4f86\u5f8c\u88fd\u8f49\u6a94\u70ba jpeg \u6642\uff0c\u5e38\u7528\u7684\u8edf\u9ad4\u662f BreezeBrowser Pro\uff0c\u9019\u5957\u8edf\u9ad4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-myeos"],"_links":{"self":[{"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":0,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"wp:attachment":[{"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}