{"id":1674,"date":"2022-11-16T22:22:34","date_gmt":"2022-11-16T14:22:34","guid":{"rendered":"https:\/\/yowlab.idv.tw\/wordpress\/?p=1674"},"modified":"2022-11-17T16:33:45","modified_gmt":"2022-11-17T08:33:45","slug":"%e5%88%a9%e7%94%a8-imagemagick-%e4%be%86%e5%b0%8d-pdf-%e6%96%87%e4%bb%b6%e9%80%b2%e8%a1%8c%e6%93%b7%e5%8f%96","status":"publish","type":"post","link":"https:\/\/yowlab.idv.tw\/wordpress\/?p=1674","title":{"rendered":"\u5229\u7528 Imagemagick  \u4f86\u5c0d pdf \u6587\u4ef6\u9032\u884c\u64f7\u53d6"},"content":{"rendered":"<p>\u9031\u4e8c(2022\/11\/15)\u6709\u5916\u7c4d\u8001\u5e2b\u4f86\u73ed\u4e0a\u9032\u884c\u6559\u5b78\u6d3b\u52d5\uff0c\u4e3b\u984c\u662f\u300c\u5fa9\u6d3b\u7bc0\u300d\u76f8\u95dc\u8ab2\u984c\uff0c\u671f\u9593\u9032\u884c\u4e86\u4e00\u4e9b\u6d3b\u52d5\uff0c\u4e26\u8981\u5b69\u5b50\u756b\u51fa\u4ed6\u5fc3\u76ee\u4e2d\u7684\u706b\u96de\u3002<\/p>\n<p>\u5728\u8ab2\u5802\u7d50\u675f\u5f8c\uff0c\u6211\u4fbf\u5c07\u5b69\u5b50\u7684\u4f5c\u54c1\u6536\u96c6\u8d77\u4f86\uff0c\u4e26\u6383\u63cf\u6210\u300cPDF\u300d\u6a94\u6848\u3002<\/p>\n<p>\u518d\u4f86\u6211\u4fbf\u9047\u5230\u500b\u554f\u984c\uff0c\u4fbf\u662f\u7576\u521d\u6383\u63cf\u7684\u6587\u4ef6\u662f\u96d9\u9762\uff0c\u800c\u6211\u53ea\u9700\u8981\u5176\u4e2d\u7684\u4e00\u9762\uff08\u756b\u6709\u706b\u96de\u7684\u90a3\u4e00\u9762\uff09\u3002\u800c\u300cPDF\u300d\u6a94\u6848\u537b\u662f\u6709\u5169\u9762\u5167\u5bb9\u7684\u6a94\u6848\u3002<\/p>\n<style type=\"text\/css\">\n    li.present01 {line-height:1.5em; background-color:#F5E5C9; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\n    li.present02 {line-height:1.5em; background-color:#ceffbc; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\n    li.present03 {line-height:1.5em; background-color:#b3dffa; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\n    ul.none {list-style-type:none;line-height:1.5em; padding:10px;}\n    ol.lower-alpha {list-style-type:lower-alpha;}\n    ol.lower-roman {list-style-type:lower-roman;}\n    ul.note {line-height:1.5em; padding:2px; font-weight:bold; font-size:0.9em;}\n    .highlight01 {font-weight:bold; line-height:1.5em; background-color:#e7f49c; padding:0px 2px; border:1px; border-radius:10px;}\n    .highlight02 {font-weight:bold; line-height:1.5em; background-color:#F2F26B; padding:1px 1px; border:1px;}\n    .highlight03 {font-weight:bold; line-height:1.5em; background-color:#F9BF72; padding:3px 10px; border:2px; border-radius:10px;}\n    .box01 {margin: 5px; border:1px #19130B solid; border-radius:5px; padding:10px;}\n    .box02 {margin: 5px; font-weight:bold; line-height:1.5em; padding:10px; border:1px #19130B solid; border-radius:5px; float: left;}\n    h3 {border:2px #000 solid; border-width:0px 0px 1px 0px; padding-width:0px 0px 3px 0px;}<\/p>\n<\/style>\n<p>\u800c\u8981\u5f9e\u8a72\u300cPDF\u300d\u6a94\u6848\u64f7\u53d6\u51fa\u6211\u9700\u8981\u7684\u90a3\u4e00\u9762\uff08\u624b\u7e6a\u706b\u96de\u5716\uff09\uff0c\u4e26\u5408\u4f75\u6210\u4e00\u500b\u6a94\u6848\uff0c\u5176\u5be6\u662f\u500b\u5f88\u55ae\u7d14\u5f88\u7c21\u55ae\u7684\u5de5\u4f5c\uff0c\u800c<span class=\"highlight01\">\u6211\u537b\u53ea\u60f3\u300c\u4e00\u884c\u547d\u4ee4\u300d\u5c31\u76f4\u63a5\u8655\u7406\u6389<\/span>\u3002<\/p>\n<p>\u76ee\u524d\u6211\u624b\u982d\u4e0a\u4e5f\u6b63\u597d\u6709\u53ef\u4ee5\u9054\u6210\u9019\u500b\u9700\u6c42\u7684\u5de5\u5177\uff1a\u300c<a href=\"https:\/\/imagemagick.org\/\" rel=\"noopener\" target=\"_blank\">Imagemagick<\/a>\u300d\u7684\u300cconvert\u300d\u3002<\/p>\n<p>\u4ee5\u4e0b\u70ba\u7528\u6cd5\uff1a<\/p>\n<div class=\"box01\">\n\u5047\u8a2d\uff0c\u6a94\u540d\u70ba all.pdf\uff0c\u6587\u4ef6\u5168\u90e8\u6709 54 \u9801\uff0c\u90a3\u9ebc\u53ef\u80fd\u6709\u4ee5\u4e0b\u9700\u6c42\uff1a\uff08\u6ce8\u610f\uff0c<span class=\"highlight01\">\u9801\u6578\u5f9e 0 \u958b\u59cb<\/span>)<\/p>\n<ol>\n<li class=\"present01\">\u82e5\u50c5\u9700\u5176\u4e2d\u7684\u7b2c 8 \u9801<\/li>\n<p>            convert  all.pdf[7]   target.pdf<\/p>\n<li class=\"present01\">\u82e5\u9700\u8981\u5176\u4e2d\u7684\u7b2c 4 \uff5e 18\u9801<\/li>\n<p>            convert  all.pdf[3-17]   target.pdf <\/p>\n<li class=\"present01\">\u82e5\u8981\u53d6\u5176\u4e2d\u7684\u7b2c 5, 9, 10, 28 \u9801<\/li>\n<p>            convert  all.pdf[4,8,9,27]   target.pdf <\/p>\n<li class=\"present01\">\u82e5\u50c5\u8981\u53d6\u5947\u6578\u9801\uff1a<\/li>\n<p>            convert -define  frames:step=2  all.pdf[0-53]  target.pdf <\/p>\n<li class=\"present01\">\u82e5\u50c5\u8981\u53d6\u5076\u6578\u9801\uff1a<\/li>\n<p>            convert -define frames:step=2 all.pdf[1-53]  target.pdf <\/p>\n<li class=\"present01\">\u82e5\u8981\u5c07\u6bcf\u4e00\u9801\u90fd\u62c6\u958b\u4e26\u6210\u7368\u7acb\u6a94\u6848\uff0c\u6a94\u540d\u4ee5 target_01.pdf, target_02.pdf, &#8230;. \u7b49\u898f\u5247\u5217\u51fa\uff1a<\/li>\n<p>            convert all.pdf  target_%02d.pdf\n<\/ol>\n<p>&nbsp;<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h3>\u53c3\u8003\u8cc7\u6e90<\/h3>\n<ol>\n<li>ImageMagick-Annotated List of Command-line Options<\/li>\n<p>       <a href=\"https:\/\/imagemagick.org\/script\/command-line-options.php#define\" rel=\"noopener\" target=\"_blank\">https:\/\/imagemagick.org\/script\/command-line-options.php#define<\/a><\/p>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u9031\u4e8c(2022\/11\/15)\u6709\u5916\u7c4d\u8001\u5e2b\u4f86\u73ed\u4e0a\u9032\u884c\u6559\u5b78\u6d3b\u52d5\uff0c\u4e3b\u984c\u662f\u300c\u5fa9\u6d3b\u7bc0\u300d\u76f8\u95dc\u8ab2\u984c <a class=\"more-link\" href=\"https:\/\/yowlab.idv.tw\/wordpress\/?p=1674\">Continue reading <span class=\"screen-reader-text\">  \u5229\u7528 Imagemagick  \u4f86\u5c0d pdf \u6587\u4ef6\u9032\u884c\u64f7\u53d6<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2],"tags":[47],"class_list":["post-1674","post","type-post","status-publish","format-standard","hentry","category-3","category-2","tag-imagemagick"],"_links":{"self":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1674"}],"version-history":[{"count":7,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1674\/revisions"}],"predecessor-version":[{"id":1681,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1674\/revisions\/1681"}],"wp:attachment":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}