{"id":697,"date":"2012-09-18T20:56:21","date_gmt":"2012-09-18T12:56:21","guid":{"rendered":"http:\/\/blog.hoyo.idv.tw\/?p=697"},"modified":"2015-09-23T14:06:15","modified_gmt":"2015-09-23T06:06:15","slug":"%e4%b8%80%e6%ac%a1%e6%8a%8a%e8%b3%87%e6%96%99%e5%a4%be%e5%85%a7%e7%9a%84-eps-%e6%aa%94%e6%a1%88%e8%bd%89%e6%8f%9b%e6%88%90-png-%e6%aa%94","status":"publish","type":"post","link":"https:\/\/blog.hoyo.idv.tw\/?p=697","title":{"rendered":"\u4e00\u6b21\u628a\u8cc7\u6599\u593e\u5167\u7684 EPS \u6a94\u6848\u8f49\u63db\u6210 PNG \u6a94"},"content":{"rendered":"<p>\u51fa\u7248\u793e\u6703\u9047\u5230\u5927\u91cf\u7684 EPS \u6a94\u6848\uff0c\u901a\u5e38\u90fd\u662f Adobe Illustrator \u7522\u751f\u7684\u5411\u91cf\u5716\u6a94\u6848\uff0c\u770b\u5716\u8edf\u9ad4\u4e0d\u662f\u7121\u6cd5\u9810\u89bd\uff0c\u5c31\u662f\u770b\u5230\u5f88\u5c0f\u5f35\u7684\u5716\uff0c\u7576\u7136\u4e5f\u7121\u6cd5\u6b63\u5e38\u7684\u8f49\u63db\u6210\u9ede\u9663\u5716\u6a94\uff0c\u90fd\u8981\u627e<strong><del>\u76dc\u7248<\/del><\/strong>\u539f\u4f86\u7684\u8edf\u9ad4\u4f86\u8f49\u6a94 ......<\/p>\n<p>\u4e0d\u904e\u73fe\u5728\u4f60\u53ef\u4ee5\u64fa\u812b\u9019\u7a2e\u7a98\u5883\u4e86\uff0c\u4ee5\u4e0b\u65b9\u6cd5\u5b8c\u5168\u514d\u8cbb\u3001\u5b8c\u5168\u5408\u6cd5\u3001\u54c1\u8cea\u66f4\u662f\u6709\u4fdd\u8b49 ( hoyo \u639b\u7684\u4fdd\u8b49 )<\/p>\n<p>\u6b65\u9a5f\u4e00\uff1a\u5b89\u88dd ImageMagick \u8edf\u9ad4\uff0cWindows \u5230<a href=\"http:\/\/www.imagemagick.org\/script\/binary-releases.php#windows\" target=\"_blank\">\u9019\u88e1<\/a>\u00a0(\u00a0http:\/\/www.imagemagick.org\/script\/binary-releases.php#windows\u00a0)\u4e0b\u8f09\u3002<br \/>\n\u8acb\u4e0b\u8f09 32 \u4f4d\u5143\uff0c64 \u4f4d\u5143\u6211\u5728\u5169\u53f0\u96fb\u8166\u4e0a\u6e2c\u8a66\u7686\u5931\u6557\uff0c\u5931\u6557\u7387 100% \u53ef\u80fd\u6709 bug \u5427\u3002( \u57f7\u884c 64 \u4f4d\u5143 convert.exe \u6703\u5674 0xc000007b \u932f\u8aa4\u00a0)<\/p>\n<p>\u5c07\u4ee5\u4e0b\u6307\u4ee4\u8907\u88fd\u4f7f\u7528\u6587\u5b57\u7de8\u8f2f\u5668\u8cbc\u4e0a\uff0c\u5b58\u6210 .bat \u6279\u6b21\u6a94\u3002<br \/>\n\u5728 Windows 7 \u53ca Server 2008 Server \u4e00\u5b9a\u8981\u5b58\u6210\u6279\u6b21\u6a94\u624d\u53ef\u4ee5\u4f7f\u7528\uff0cXP \u6211\u660e\u5929\u518d\u4f86\u6e2c\u8a66\u3002<\/p>\n<p><strong>EPS_convert.bat<\/strong><\/p>\n<pre class=\"brush: dosbatch; gutter: true\">for \/F %%1 in ('dir\/b *.eps') do (\r\n  \"c:\\Program Files (x86)\\ImageMagick-6.7.9-Q16\\convert.exe\" -density 900 %%~n1.eps -resize 800x800 %%~n1.bmp\r\n)\r\n\r\nfor \/F %%1 in ('dir\/b *.bmp') do (\r\n  \"c:\\Program Files (x86)\\ImageMagick-6.7.9-Q16\\convert.exe\" %%~n1.bmp %%~n1.png\r\n)\r\n\r\ndel *.bmp<\/pre>\n<p>\u7136\u5f8c\u4e1f\u5230\u8981\u8f49\u6a94\u7684\u76ee\u9304\u4e0b\uff0c\u9ede\u5169\u4e0b\u5c31\u53ef\u4ee5\u81ea\u52d5\u57f7\u884c\u4e86\u3002<\/p>\n<h2>Windows for \u6307\u4ee4\u683c\u5f0f\u8aaa\u660e<\/h2>\n<pre>\u5c0d\u4e00\u7d44\u6a94\u6848\u4e2d\u7684\u6bcf\u500b\u6a94\u6848\u57f7\u884c\u6307\u5b9a\u7684\u547d\u4ee4\u3002\r\nFOR %variable IN (set) DO \u547d\u4ee4 [command-parameters]\r\n%variable \u6307\u5b9a\u4e00\u500b\u53ef\u4ee5\u53d6\u4ee3\u7684\u53c3\u6578\u3002\r\n (set) \u6307\u5b9a\u7531\u4e00\u6216\u591a\u500b\u6a94\u6848\u7d44\u6210\u7684\u6a94\u6848\u7d44\u3002\u60a8\u53ef\u4f7f\u7528\u901a\u914d\u5b57\u5143\u3002\r\n command \u6307\u5b9a\u547d\u4ee4\u4f86\u57f7\u884c\u6bcf\u4e00\u500b\u6a94\u6848\u3002\r\n command-parameters\r\n \u70ba\u6240\u6307\u5b9a\u7684\u547d\u4ee4\u6307\u5b9a\u8b8a\u6578\u6216\u53c3\u6578\u3002<\/pre>\n<p class=\"brush: bash; gutter: true\">\u63a5\u4e0b\u4f86\u7684\u4f7f\u7528\u8aaa\u660e\u975e\u5e38\u91cd\u8981<\/p>\n<pre class=\"nums:false lang:default decode:true\">\u5982\u679c\u8981\u5728\u6279\u6b21\u7a0b\u5f0f\u4e2d\u4f7f\u7528 FOR \u547d\u4ee4\uff0c\u8acb\u6307\u5b9a %%variable\uff0c\u800c\u4e0d\u8981\u6307\u5b9a\r\n%variable\u3002\u8b8a\u6578\u540d\u7a31\u6709\u5927\u5c0f\u5beb\u7684\u5340\u5206\uff0c\u6240\u4ee5 %i \u4e0d\u540c\u65bc %I\u3002<\/pre>\n<ul>\n<li>\u91cd\u8981\u5728\uff1a<span style=\"color: #800000;\">\u8b8a\u6578\u5728\u6279\u6b21\u6a94\u5167\u4f7f\u7528\u90fd\u5fc5\u9808\u4f7f\u7528\u5169\u500b %<\/span>\uff0c\u6240\u4ee5\u5230\u8655\u53bb\u6284\u7a0b\u5f0f\u6642\uff0c\u8acb\u8a18\u5f97\u81ea\u884c\u5c07 <span style=\"color: #800000;\">% \u6539\u6210 %%<\/span><\/li>\n<li>\u81f3\u65bc\u8b8a\u6578\u540d\u7a31\u8981\u7528 %1 \u6578\u5b57 1 \u00a0\u6216\u662f %i \u82f1\u6587\u5c0f\u5beb i \uff0c\u5176\u4ed6\u90fd\u6c92\u5dee\uff0c\u4e3b\u8981\u5c31\u662f\u524d\u5f8c\u8981\u5c0d\u7167<\/li>\n<li>in \u5f8c\u9762\u63a5\u5c0d\u8c61\uff0c<\/li>\n<li>do \u5f8c\u9762\u5c31\u662f\u57f7\u884c\u6307\u4ee4\uff0c<\/li>\n<li>\u70ba\u4ec0\u9ebc\u8981\u5148\u8f49 bmp \u5716\u6a94\u624d\u8f49\u6700\u7d42\u8981\u7684<span style=\"color: #333333; font-style: normal; line-height: 24px;\">\u00a0png \u6216 jpg\u00a0<\/span>\u683c\u5f0f\uff1f\u9019\u6a23\u624d\u4e0d\u6703\u4fdd\u7559\u96b1\u85cf\u7684 XML \u8cc7\u8a0a\uff0c\u9019\u4e9b\u8cc7\u8a0a\u6703\u5c0e\u81f4 Internet Explorer \u700f\u89bd\u5668\u7121\u6cd5\u958b\u555f\u8a72\u5716\u6a94 ( \u53ea\u6709 IE \u6709\u9019\u500b\u9ce5\u554f\u984c ...... \u721b\uff01 ) \u3002\u6709\u66f4\u597d\u7684\u4f5c\u6cd5\u8acb\u544a\u8a34\u6211\uff0c\u6211\u5f88\u9700\u8981 m(_ _)m<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"697\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;1,735&nbsp;total views<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u51fa\u7248\u793e\u6703\u9047\u5230\u5927\u91cf\u7684 EPS \u6a94...<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"697\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;1,735&nbsp;total views<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[31],"tags":[87,88,89,86],"_links":{"self":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/697"}],"collection":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=697"}],"version-history":[{"count":22,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/697\/revisions"}],"predecessor-version":[{"id":2569,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/697\/revisions\/2569"}],"wp:attachment":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}