{"id":854,"date":"2012-07-08T12:36:34","date_gmt":"2012-07-08T04:36:34","guid":{"rendered":"http:\/\/www.dogeye.net\/?p=854"},"modified":"2012-07-08T12:36:34","modified_gmt":"2012-07-08T04:36:34","slug":"%e7%94%a8briss%e6%89%b9%e9%87%8f%e5%88%87%e9%99%a4pdf%e6%96%87%e4%bb%b6%e7%9a%84%e7%99%bd%e8%be%b9","status":"publish","type":"post","link":"https:\/\/ykyi.net\/?p=854","title":{"rendered":"\u7528Briss\u6279\u91cf\u5207\u9664pdf\u6587\u4ef6\u7684\u767d\u8fb9"},"content":{"rendered":"<p>\u8fd9\u6bb5\u65f6\u95f4\u51c6\u5907\u8bba\u6587\uff0c\u8981\u770b\u597d\u591a\u7535\u5b50\u8d44\u6599\u3002\u6bd4\u5982\u4e2d\u56fd\u77e5\u7f51\u4e0b\u8f7d\u7684N\u591a\u8bba\u6587\u8fd8\u6709N\u591aRFC\u7684pdf\u3002\u5df2\u7ecf\u5fcd\u65e0\u53ef\u5fcd\u6210\u5929\u5bf9\u4f4f\u53f0\u7535\u8111\u770b\u8d44\u6599\uff0c\u4e8e\u662f\u5165\u624b\u4e86\u4e00\u90e8kindle4\u3002\u8fd9\u4e0b\u95ee\u9898\u53c8\u6765\u4e86\uff0cpdf(<span style=\"font-family: arial, sans-serif; font-size: small; line-height: 16px; \">Portable Document Format<\/span>)\u662f\u4e13\u95e8\u4e3a\u6253\u5370\u8bbe\u8ba1\u7684\uff0c\u5728\u9875\u9762\u7684\u56db\u4e2a\u65b9\u5411\u90fd\u9884\u7559\u4e86\u767d\u8fb9\u3002\u5bf9\u4e8ekindle4\u672c\u6765\u5c31\u4e0d\u5927\u7684\u5c4f\u5e55\u6765\u8bf4\uff0cpdf\u663e\u793a\u5728kindle4\u7684\u5c4f\u5e55\u4e0a\uff0c\u5b57\u5c0f\u7684\u540c\u4e4c\u8747\u4e00\u6837\uff0c\u6bd4\u7528\u7535\u8111\u770b\u8fd8\u8981\u8d39\u773c\u3002\u4e8e\u662f\u60f3\u5230\u53bb\u6389\u767d\u8fb9\uff0c\u5728\u7f51\u7edc\u4e0a\u641c\u7d22\u4e86\u4e00\u4e0b\uff0c\u53d1\u73b0\u4e86\u597d\u51e0\u79cd\u8f6f\u4ef6\uff0c\u6700\u540e\u54e5\u9009\u4e86briss\uff0c\u771f\u7684\u975e\u5e38\u7684\u9177\u5594~~\u53ef\u4ee5\u628a\u767d\u8fb9\u5220\u9664\u5f97\u5e72\u5e72\u51c0\u51c0\u3002<\/p>\n<p>\u4e0d\u8fc7\u95ee\u9898\u53c8\u6765\u4e86\uff0c\u6211\u6709\u597d\u591apdf\u6587\u4ef6\u5440\uff01\u4f46\u662fbriss\u7684\u64cd\u4f5c\u754c\u9762\u53ea\u652f\u6301\u4e00\u6b21\u5904\u7406\u4e00\u4e2a\u6587\u4ef6\u3002\u770bBriss\u7684\u5e2e\u52a9\u6587\u4ef6\u7684\u65f6\u5019\u53d1\u73b0Briss\u652f\u6301\u7528\u63a7\u5236\u53f0\u64cd\u4f5c~~\u5982\u4e0b\uff1a<\/p>\n<p>================<\/p>\n<p>&nbsp;<\/p>\n<h3>Command line usage(\u4f7f\u7528\u547d\u4ee4\u884c)<\/h3>\n<p>If you prefer command line and trust the basic automatic detection algorithm use it this way (can be batched!):<\/p>\n<p>\u5982\u679c\u4f60\u559c\u6b22\u7528\u547d\u4ee4\u884c\u5e76\u4fe1\u4efb\u767d\u8fb9\u81ea\u52a8\u63a8\u6d4b\u7b97\u6cd5\uff0c\u53ef\u4ee5\u7528\u4ee5\u4e0b\u547d\u4ee4\u64cd\u4f5c\uff08\u652f\u6301\u6279\u5904\u7406\uff09\u3002<\/p>\n<pre>java -jar briss-0.0.13.jar -s [SOURCEFILE] [-d [DESTINATIONFILE]]<\/pre>\n<p>Example:<\/p>\n<pre>java -jar briss-0.0.13.jar -s dogeatdog.pdf -d dogcrop.pdf\njava -jar briss-0.0.13.jar -s dogeatdog.pdf <\/pre>\n<p>================<\/p>\n<p>\u5230\u6b64\uff0c\u5c31\u975e\u5e38\u597d\u529e\u4e86\u3002\u6211\u7684\u7535\u8111\u88c5\u4e86UNIX\u5de5\u5177\u94fe\u5728windows\u5e73\u53f0\u4e0b\u7684\u79fb\u690d\u7248:cygwin\uff0c\u4e8e\u662f\u6211\u53ea\u7528\u5199\u4e00\u884cunix\u547d\u4ee4\u5c31\u628a\u6211\u7684\u4e00\u4e2a\u76ee\u5f55\u5939\u4e0b\u9762\u6240\u6709\u7684pdf\u6587\u4ef6\u90fd\u5207\u8fb9\u4e86\u3002\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<p>&nbsp;<\/p>\n<div>zausiu@enigma \/cygdrive\/e\/kindle4\/ipv6_en &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ \u5f53\u524d\u76ee\u5f55 e:\/\/kindle4\/ipv6_en \u4e0b\u9762\u5b58\u653e\u4e86\u6240\u6709\u5f85\u5207\u767d\u8fb9\u7684pdf\u6587\u4ef6.<\/div>\n<div>$ ls *.pdf | xargs -I&#39;{}&#39; -n1 java -jar d:\/Program\\ Files\\ \\(x86\\)\/briss-0.0.13\/briss-0.0.13.jar -s &#39;{}&#39; &nbsp; &nbsp;\/\/ \u7528\u6765\u628a\u8be5\u76ee\u5f55\u4e0b\u9762\u6240\u6709.pdf\u6587\u4ef6\u53bb\u767d\u8fb9\u7684\u547d\u4ee4\u3002<\/div>\n<div>&nbsp;<\/div>\n<div>\u6211\u7684pdf\u6587\u4ef6\u5f88\u591a\uff0c\u968f\u4fbf\u8d34\u51fa\u4e00\u70b9\u547d\u4ee4\u7684\u8f93\u51fa\u3002<\/div>\n<div>&nbsp;<\/div>\n<div>\n<div>Since no destination was provided destination will be set to &nbsp;: E:\\kindle4\\ipv6_en\\draft-itojun-ipv6-transition-abuse-01_cropped.pdf<\/div>\n<div>Clustering PDF: draft-itojun-ipv6-transition-abuse-01.pdf<\/div>\n<div>Created 2 clusters.<\/div>\n<div>Starting to render clusters&#8230;..finished!<\/div>\n<div>Calculating crop rectangles.<\/div>\n<div>Starting to crop files.<\/div>\n<div>Cropping succesful. Cropped to:E:\\kindle4\\ipv6_en\\draft-itojun-ipv6-transition-a=buse-01_cropped.pdf<\/div>\n<div>&nbsp;<\/div>\n<div>Since no destination was provided destination will be set to &nbsp;: E:\\kindle4\\ipv6_en\\layer2_attacks_and_mitigation_t_cropped.pdf<\/div>\n<div>Clustering PDF: layer2_attacks_and_mitigation_t.pdf<\/div>\n<div>Created 2 clusters.<\/div>\n<div>Starting to render clusters&#8230;&#8230;&#8230;.finished!<\/div>\n<div>Calculating crop rectangles.<\/div>\n<div>Starting to crop files.<\/div>\n<div>Cropping succesful. Cropped to:E:\\kindle4\\ipv6_en\\layer2_attacks_and_mitigation_t_cropped.pdf<\/div>\n<div>&nbsp;<\/div>\n<div>\u5927\u6982\u7684\u610f\u601d\u662f\uff0c\u6211\u7684\u547d\u4ee4\u6ca1\u6709\u63d0\u4f9b\u5207\u767d\u8fb9\u540e\u65b0pdf\u6587\u4ef6\u7684\u6587\u4ef6\u540d\uff0c\u4e8e\u662f\u81ea\u52a8\u53d6\u4e86\u4e00\u4e2a\u540d\u5b57\u3002\u7136\u540e\u7a0b\u5e8f\u5206\u6790pdf\u6587\u4ef6\uff0c\u5f00\u59cb\u5207\u8fb9\uff0c\u6700\u540e\u5207\u8fb9\u6210\u529f\u3002<\/div>\n<div>\u7531\u4e8e\u6211\u5199\u7684\u547d\u4ee4\u662f\u7528\u4e86Unix Shell\u7684\u8bed\u6cd5\uff0c\u6240\u4ee5\u5982\u679c\u4f60\u7684\u673a\u5668\u6ca1\u6709\u88c5cygwin\u662f\u8fd0\u884c\u4e0d\u4e86\u8fd9\u4e2a\u547d\u4ee4\u7684\u3002\u53ef\u4ee5\u628a\u5b83\u7528windows\u6279\u5904\u7406\u7684\u8bed\u6cd5\u6539\u5199\uff0c\u4f46\u662f\u54e5\u4e0d\u4f1awindows\u6279\u5904\u7406\u7684\u8bed\u6cd5\u54c8~~~<\/div>\n<\/div>\n<div>&nbsp;<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u6bb5\u65f6\u95f4\u51c6\u5907\u8bba\u6587\uff0c\u8981\u770b\u597d\u591a\u7535\u5b50\u8d44\u6599\u3002\u6bd4\u5982\u4e2d\u56fd\u77e5\u7f51\u4e0b\u8f7d\u7684N\u591a\u8bba\u6587\u8fd8\u6709N\u591aRFC\u7684pdf\u3002\u5df2\u7ecf\u5fcd\u65e0\u53ef\u5fcd\u6210\u5929\u5bf9\u4f4f\u53f0\u7535\u8111\u770b\u8d44\u6599\uff0c\u4e8e\u662f\u5165\u624b\u4e86\u4e00\u90e8kindle4\u3002\u8fd9\u4e0b\u95ee\u9898\u53c8\u6765\u4e86\uff0cpdf(Portable Document Format)\u662f\u4e13\u95e8\u4e3a\u6253\u5370\u8bbe\u8ba1\u7684\uff0c\u5728\u9875\u9762\u7684\u56db\u4e2a\u65b9\u5411\u90fd\u9884\u7559\u4e86\u767d\u8fb9\u3002\u5bf9\u4e8ekindle4\u672c\u6765\u5c31\u4e0d\u5927\u7684\u5c4f\u5e55\u6765\u8bf4\uff0cpdf\u663e\u793a\u5728kindle4\u7684\u5c4f\u5e55\u4e0a\uff0c\u5b57\u5c0f\u7684\u540c\u4e4c\u8747\u4e00\u6837\uff0c\u6bd4\u7528\u7535\u8111\u770b\u8fd8\u8981\u8d39\u773c\u3002\u4e8e\u662f\u60f3\u5230\u53bb\u6389\u767d\u8fb9\uff0c\u5728\u7f51\u7edc\u4e0a\u641c\u7d22\u4e86\u4e00\u4e0b\uff0c\u53d1\u73b0\u4e86\u597d\u51e0\u79cd\u8f6f\u4ef6\uff0c\u6700\u540e\u54e5\u9009\u4e86briss\uff0c\u771f\u7684\u975e\u5e38\u7684\u9177\u5594~~\u53ef\u4ee5\u628a\u767d\u8fb9\u5220\u9664\u5f97\u5e72\u5e72\u51c0\u51c0\u3002 \u4e0d\u8fc7\u95ee\u9898\u53c8\u6765\u4e86\uff0c\u6211\u6709\u597d\u591apdf\u6587\u4ef6\u5440\uff01\u4f46\u662fbriss\u7684\u64cd\u4f5c\u754c\u9762\u53ea\u652f\u6301\u4e00\u6b21\u5904\u7406\u4e00\u4e2a\u6587\u4ef6\u3002\u770bBriss\u7684\u5e2e\u52a9\u6587\u4ef6\u7684\u65f6\u5019\u53d1\u73b0Briss\u652f\u6301\u7528\u63a7\u5236\u53f0\u64cd\u4f5c~~\u5982\u4e0b\uff1a ================ &nbsp; Command line usage(\u4f7f\u7528\u547d\u4ee4\u884c) If you prefer command line and trust the basic automatic detection algorithm use it this way (can be batched!): \u5982\u679c\u4f60\u559c\u6b22\u7528\u547d\u4ee4\u884c\u5e76\u4fe1\u4efb\u767d\u8fb9\u81ea\u52a8\u63a8\u6d4b\u7b97\u6cd5\uff0c\u53ef\u4ee5\u7528\u4ee5\u4e0b\u547d\u4ee4\u64cd\u4f5c\uff08\u652f\u6301\u6279\u5904\u7406\uff09\u3002 java -jar briss-0.0.13.jar -s [SOURCEFILE] [-d [DESTINATIONFILE]] Example: java -jar briss-0.0.13.jar -s dogeatdog.pdf -d dogcrop.pdf java -jar briss-0.0.13.jar -s dogeatdog.pdf ================ \u5230\u6b64\uff0c\u5c31\u975e\u5e38\u597d\u529e\u4e86\u3002\u6211\u7684\u7535\u8111\u88c5\u4e86UNIX\u5de5\u5177\u94fe\u5728windows\u5e73\u53f0\u4e0b\u7684\u79fb\u690d\u7248:cygwin\uff0c\u4e8e\u662f\u6211\u53ea\u7528\u5199\u4e00\u884cunix\u547d\u4ee4\u5c31\u628a\u6211\u7684\u4e00\u4e2a\u76ee\u5f55\u5939\u4e0b\u9762\u6240\u6709\u7684pdf\u6587\u4ef6\u90fd\u5207\u8fb9\u4e86\u3002\u547d\u4ee4\u5982\u4e0b\uff1a &nbsp; zausiu@enigma \/cygdrive\/e\/kindle4\/ipv6_en &nbsp; &hellip; <a href=\"https:\/\/ykyi.net\/?p=854\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;\u7528Briss\u6279\u91cf\u5207\u9664pdf\u6587\u4ef6\u7684\u767d\u8fb9&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[46],"class_list":["post-854","post","type-post","status-publish","format-standard","hentry","category-life_and_others","tag-kindle"],"_links":{"self":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=854"}],"version-history":[{"count":0,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/854\/revisions"}],"wp:attachment":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}