{"id":2625,"date":"2012-10-08T16:18:49","date_gmt":"2012-10-08T07:18:49","guid":{"rendered":"http:\/\/njet.oops.jp\/wordpress\/?p=2625"},"modified":"2012-10-09T00:31:33","modified_gmt":"2012-10-08T15:31:33","slug":"imagemagick%e3%81%aemogrify%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%82%92%e4%bd%bf%e3%81%86","status":"publish","type":"post","link":"https:\/\/njet.oops.jp\/wordpress\/2012\/10\/08\/imagemagick%e3%81%aemogrify%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%82%92%e4%bd%bf%e3%81%86\/","title":{"rendered":"ImageMagick\u306emogrify\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046"},"content":{"rendered":"<p>[\u5099\u5fd8\u9332] \u4ee5\u524d The Internet Archive \u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u3044\u305f E. Cahen \u306e Theorie des nombre, tome 2 (\u6574\u6570\u8ad6\uff0c\u7b2c2\u5dfb)\u3002\u30b5\u30a4\u30ba\u3082\u5c0f\u3055\u304f\u3067\u826f\u3044\u306e\u3060\u304c\uff0c\u4f55\u6545\u304bMac\u306e\u30d7\u30ec\u30d3\u30e5\u30fc.app\u3067\u898b\u308b\u3068\uff0c\u3082\u306e\u3059\u3054\u304f\u52d5\u4f5c\u304c\u9045\u304f\u3066\u30b9\u30af\u30ed\u30fc\u30eb\u3082\u307e\u307e\u306a\u3089\u306a\u3044\u3068\u3044\u3046\u72b6\u6cc1\u3060\u3063\u305f\u3002\u305d\u308c\u3067\uff0c\u653e\u3063\u3066\u304a\u3044\u305f\u306e\u3060\u3063\u305f\u3002\u305d\u306e\u3068\u304d\u306f\u5bfe\u51e6\u6cd5\u306a\u3069\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3060\u304c\uff0c\u696d\u8005\u306b\u4f9d\u983c\u3057\u305f\u81ea\u708a(\uff1f)PDF\u304c\u6642\u3005\u540c\u3058\u3088\u3046\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u91cd\u305f\u3044\u3068\u3044\u3046\u7d4c\u9a13\u3092\u7d4c\u3066\uff0c\u3069\u3046\u3059\u308c\u3070\u826f\u3044\u304b\u304c\u81ea\u5206\u306a\u308a\u306b\u5c11\u3057\u5206\u304b\u3063\u3066\u304d\u305f\u306e\u3067\uff0c\u305d\u308c\u3092\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p>\u51e6\u7406\u5bfe\u8c61\u306f\uff0cthoriedesnombr02caheuoft_bw.pdf \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3002\u30b5\u30a4\u30ba\u306f27.2MB\u307b\u3069\u3002\u3053\u306e\u307e\u307e\u3067\u3082\u826f\u3044\u304c\uff0c\u3053\u308c\u3092 cahen2.pdf \u3068\u3057\u3066\u4fdd\u5b58\u3002Acrobat\u3067\u958b\u304d\uff0cjpeg\u306b\u30d0\u30e9\u3057\u3066\u4fdd\u5b58\u3002cahen2_Page_001.jpg \u304b\u3089 cahen2_Page_762.jpg \u307e\u3067\u306e762\u500b\u306ejpeg\u30d5\u30a1\u30a4\u30eb\u304c\u51fa\u6765\u308b\u3002\u3053\u308c\u3089\u306f\u30e2\u30ce\u30af\u30ed\u306e\u753b\u50cf\u306a\u306e\u3060\u304c\uff0c\u30b5\u30a4\u30ba\u306f500KB\u306a\u3044\u3057900KB\u3082\u3042\u308a\uff0c\u304b\u306a\u308a\u5927\u304d\u3044\u3002762\u500b\u3067520MB\u304f\u3089\u3044\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u306a\u306e\u304b\u3082\u3060\u304c\uff0c\u62e1\u5927\u3057\u305f\u69d8\u5b50\u3067\u306f\uff0c\u6587\u5b57\u90e8\u5206\u306f2\u5024\u306e\u3088\u3046\u306b\u3082\u611f\u3058\u308b\u3002\u3068\u3082\u304b\u304f\uff0c\u3053\u308c\u304c27MB\u306b\u5727\u7e2e\u3055\u308c\u3066\u3044\u305f\u306e\u3060\u304b\u3089\uff0c\u3059\u3054\u3044\u5727\u7e2e\u7387\u3067\u306f\u3042\u308b\u3002<\/p>\n<p>\u3055\u3066\uff0c\u3053\u308c\u3092 ImageMagick \u3067\u767d\u9ed22\u5024\u306etiff\u306b\u5909\u63db\u3057\u3066\uff0cCCITT Group4\u306e\u5727\u7e2e\u3092\u304b\u3051\u308b\u3053\u3068\u306b\u3059\u308b\u3002\u3064\u3044\u3067\u306b\uff0c\u5e83\u3059\u304e\u308b\u4f59\u767d\u3092\u5c11\u3057\u524a\u3063\u3066\u307f\u305f\u3002iPhone\u3067\u898b\u308b\u3068\u304d\u306f\u4f59\u767d\u306a\u3044\u307b\u3046\u304c\u898b\u3084\u3059\u3044\u304b\u3089\u3002<\/p>\n<p>ImageMagick\u306econvert\u3067\u306f\u591a\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u3055\u305b\u308b\u3068\uff0c\u30a6\u30bd\u307f\u305f\u3044\u306b\u5927\u91cf\u306e\u30e1\u30e2\u30ea\u30fc\u3092\u6d88\u8cbb\u3057\u3066\u3057\u307e\u3046\u306e\u3067\uff0c\u4eca\u56de\u306f mogrify \u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002convert\u3068\u307b\u3068\u3093\u3069\u540c\u3058\u51e6\u7406\u304c\u51fa\u6765\u308b\u3002<\/p>\n<pre lang=\"bash\">\r\nmogrify -shave 100x200 -threshold 80% -compress Group4 -format tiff cahen*.jpg\r\nmogrify -format pdf cahen*.tiff\r\npdftk cahen*.pdf cat output cahen2mono.pdf\r\n<\/pre>\n<p>\u4f5c\u696d\u5185\u5bb9\u306f\u6b21\u306e\u901a\u308a\u3002mogrify \u30b3\u30de\u30f3\u30c9\u3067\uff0c\u307e\u305a\uff0c -shave 100&#215;200 \u3068\u3057\u3066\uff0c\u5de6\u53f3100\u30d4\u30af\u30bb\u30eb\uff0c\u4e0a\u4e0b200\u30d4\u30af\u30bb\u30eb\u305a\u3064\u3092\u524a\u9664\u3002\u6b21\u306b\uff0c-threshold 80% \u30672\u5024\u5316\u3002\u3055\u3089\u306b\uff0c -compress Group4 \u3067FAX G4\u3067\u306e\u5727\u7e2e\uff0c\u6700\u5f8c\u306b -format tiff \u3067\u30d5\u30a1\u30a4\u30eb\u30fb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092TIFF\u306b\u3059\u308b\u3002\u3053\u308c\u3089\u3092 cahen*.jpg \u3059\u3079\u3066\u306b\u9069\u7528\u3059\u308b\u3002\u6b21\u306b\uff0c\u751f\u6210\u3055\u308c\u305ftiff\u30d5\u30a1\u30a4\u30eb\u3092pdf\u306b\u5909\u63db\u3057\uff0cpdftk\u306b\u3088\u3063\u3066\uff0c\u3053\u308c\u3089\u306epdf\u3092\u7d50\u5408\u3057\u3066\uff0ccahen2mono.pdf \u306b\u3059\u308b\u3002\u6700\u7d42\u7684\u306a\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306f\uff0c25MB\u304f\u3089\u3044\u306b\u306a\u308a\uff0cMac\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u3067\u3082\uff0ciPhone4S\u306e i\u6587\u5eabS \u3067\u3082\uff0c\u30b9\u30e0\u30fc\u30ba\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\uff0c\u3059\u3053\u3076\u308b\u5feb\u9069\u306b\u306a\u3063\u305f\u3002<\/p>\n<p>\u6700\u521d\u306e\u30da\u30fc\u30b8\u306f\u6b21\u306e\u3088\u3046\u306a\u611f\u3058\u3002<\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/sukarabe\/8065855535\/\" title=\"Cahen &quot;Theorie des Nombres&quot; tome 2 by sukarabe, on Flickr\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm9.staticflickr.com\/8173\/8065855535_2b1fa19dce_c.jpg\" width=\"523\" height=\"800\" alt=\"Cahen &quot;Theorie des Nombres&quot; tome 2\"\/><\/a><\/p>\n<p>iPhone 4S\u3067\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306f\u5927\u4f53\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/sukarabe\/8065877318\/\" title=\"Cahen &quot;Theorie des nombres&quot; on iPhone4S by sukarabe, on Flickr\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm9.staticflickr.com\/8030\/8065877318_d224814036.jpg\" width=\"333\" height=\"500\" alt=\"Cahen &quot;Theorie des nombres&quot; on iPhone4S\"\/><\/a><\/p>\n<p>iPhone\u3067\u306f\u3055\u3059\u304c\u306b\u6587\u5b57\u304c\u5c0f\u3055\u304f\uff0c\u8001\u773c\u306b\u306f\u3064\u3089\u3044\u306e\u3060\u304c\uff0c\u30e1\u30ac\u30cd\u5916\u3059\u3068\uff0c\u305d\u308c\u3067\u3082\u4f55\u3068\u304b\u8aad\u3081\u308b\u3002\u4f55\u3088\u308a\u3082\uff0c750\u30da\u30fc\u30b8\u3082\u3042\u308b\u306e\u306b25MB\u306b\u53ce\u307e\u308a\uff0c\u52d5\u4f5c\u3082\u8efd\u304f\u306a\u3063\u305f\u306e\u3067\uff0c\u5927\u6e80\u8db3\u3067\u3042\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[\u5099\u5fd8\u9332] \u4ee5\u524d The Internet Archive \u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u3044\u305f E. Cahen \u306e Theorie des nombre, tome 2 (\u6574\u6570\u8ad6\uff0c\u7b2c2\u5dfb)\u3002\u30b5\u30a4\u30ba\u3082\u5c0f\u3055\u304f\u3067\u826f\u3044\u306e\u3060\u304c\uff0c\u4f55\u6545\u304bM [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,14,32,39,10,16,47],"tags":[],"class_list":["post-2625","post","type-post","status-publish","format-standard","hentry","category-37","category-mac-os-x","category-ubuntu","category-unix","category-10","category-16","category-pdf"],"_links":{"self":[{"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/posts\/2625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/comments?post=2625"}],"version-history":[{"count":10,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/posts\/2625\/revisions"}],"predecessor-version":[{"id":2631,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/posts\/2625\/revisions\/2631"}],"wp:attachment":[{"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=2625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=2625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=2625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}