{"id":401,"date":"2014-02-25T11:52:19","date_gmt":"2014-02-25T02:52:19","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=401"},"modified":"2014-02-25T11:52:19","modified_gmt":"2014-02-25T02:52:19","slug":"p2vj-image_convert","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2014\/02\/25\/p2vj-image_convert\/","title":{"rendered":"P2VJ \u3068\u3044\u3046\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u5f62\u5f0f\u306e\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30d9\u30af\u30bf\u30fc\u5f62\u5f0f\u306eSVG\u5f62\u5f0f\u306b\u5909\u63db\u3059\u308b\u30bd\u30d5\u30c8\u3092\u8a66\u3057\u3066\u307f\u305f"},"content":{"rendered":"<ul>\n<li><a href=\"http:\/\/sesamecake.sakura.ne.jp\/p2vj\/\" title=\"P2VJ\">P2VJ<\/a><\/li>\n<\/ul>\n<p>P2VJ \u3068\u3044\u3046\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u5f62\u5f0f\u306e\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30d9\u30af\u30bf\u30fc\u5f62\u5f0f\u306eSVG\u5f62\u5f0f\u306b\u5909\u63db\u3059\u308b\u30bd\u30d5\u30c8\u3092\u898b\u304b\u3051\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u3069\u3046\u3044\u3063\u305f\u3082\u306e\u304b\u3068\u3044\u3046\u3068\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u5f62\u5f0f\u306ePNG\/Jpeg\/BMP \u306e\u753b\u50cf\u3092SVG \u304bPDF \u306e\u30d9\u30af\u30bf\u30fc\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u63db\u3057\u3066\u304f\u308c\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>Java \u3067\u66f8\u304b\u308c\u3066\u3044\u3066\u3001Java \u74b0\u5883\u3067\u3042\u308c\u3070\u52d5\u4f5c\u3059\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\nWindows \u5411\u3051\u306b\u306f.bat \u30d5\u30a1\u30a4\u30eb\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u624b\u5143\u306e\u74b0\u5883\u306fLinux \u3060\u3063\u305f\u306e\u3067\u8d77\u52d5\u7528\u306esh script \u3092\u7528\u610f\u3057\u3066\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/matoken\/9200813.js\"><\/script><\/p>\n<p>P2VJ \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5c55\u958b\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3066\u3001\u5b9f\u884c\u7528\u306escript \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u6a29\u3092\u4ed8\u4e0e\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code>$ wget https:\/\/gist.githubusercontent.com\/matoken\/9200813\/raw\/51f17da9e8b8d17e6449063baeb40e8499df2b4e\/runp2vj.sh\n$ chmod +x runp2vj.sh\n$ .\/runp2vj.sh\n<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.flickr.com\/photos\/matoken\/12760881625\/player\/13c3985319\" height=\"245\" width=\"231\"  frameborder=\"0\" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen><\/iframe><\/p>\n<p>\u4f7f\u3044\u65b9\u306f\u57fa\u672c\u7684\u306b\u5909\u63db\u3057\u305f\u3044\u753b\u50cf\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u8a73\u7d30\u306f\u540c\u68b1\u306ereadme.txt\/readme_en.txt \u306b\u8a73\u3057\u3044\u3067\u3059\u3002<\/p>\n<pre><code>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306b\u3064\u3044\u3066\npostere\uff65\uff65\uff65\u30dd\u30b9\u30bf\u30ea\u30bc\u30fc\u30b7\u30e7\u30f3\uff08\u8272\u306e\u5e73\u6ed1\u5316\uff09\u3092\u304b\u3051\u307e\u3059\u3002\u5199\u771f\u3084\u3001\u307c\u304b\u3057\u3092\u4f7f\u3063\u3066\u3044\u308b\u7d75\u3092\u5909\u63db\u3057\u3088\u3046\u3068\u3059\u308b\u5834\u5408ON\u306b\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002jpeg\u753b\u50cf\u306e\u5834\u5408\u3082ON\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\n\u3057\u307e\u3059\u3002\nremove anti-Aliase\uff65\uff65\uff65\u5b8c\u5168\u306b2\u5024\u5316\u3055\u308c\u305f\u7d75\uff08MS\u30da\u30a4\u30f3\u30c8\u306a\u3069\u3067\u63cf\u304b\u308c\u305f\u7d75\uff09\u3092\u5909\u63db\u3059\u308b\u5834\u5408\u4ee5\u5916\u306fON\u306b\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\nmakepng\uff65\uff65\uff65\u30d9\u30af\u30bf\u5316\u3057\u305f\u5f8cPNG\u753b\u50cf\u3092\u4f5c\u308a\u307e\u3059\u3002\nmakepdf\uff65\uff65\uff65\u30d9\u30af\u30bf\u5316\u3057\u305f\u753b\u50cf\u306e PDF \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u307e\u3059\u3002\u30b3\u30f3\u30d3\u30cb\u3068\u304b\u3067\u9ad8\u89e3\u50cf\u5ea6\u753b\u50cf\u304c\uff08\u305f\u3076\u3093\uff09\u305d\u306e\u307e\u307e\u5370\u5237\u3067\u304d\u308b\u3088\uff01\n<\/code><\/pre>\n<p>\u30b5\u30a4\u30ba\u304c\u5404\u7a2e\u63c3\u3063\u3066\u3044\u3066\u3001SVG \u3082\u3042\u308bDebian \u30ed\u30b4\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/www.debian.org\/logos\/\" title=\"Debian \u30ed\u30b4\">Debian \u30ed\u30b4<\/a>\n<ul>\n<li>openlogo-nd-25.png  -> 25&#215;30 pix<\/li>\n<li>openlogo-nd-50.png  -> 50&#215;61 pix<\/li>\n<li>openlogo-nd-75.png  -> 75&#215;92 pix<\/li>\n<li>openlogo-nd-100.png -> 101&#215;124 pix<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u306ePNG \u30d5\u30a1\u30a4\u30eb\u3092P2VJ \u3067SVG \u306b\u5909\u63db\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>SVG \u306b\u5909\u63db\u305f\u3082\u306e\u3092\u6a2a\u5e45200pix \u306b\u62e1\u5927\u3057\u305f\u3082\u306e\u3002<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.flickr.com\/photos\/matoken\/12761032943\/player\/73bab748e9\" height=\"500\" width=\"382\"  frameborder=\"0\" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen><\/iframe><\/p>\n<p>SVG \u306b\u5909\u63db\u305f\u3082\u306e\u30921000&#215;1230 \u306b\u62e1\u5927\u3057\u3066\u5207\u308a\u51fa\u3057\u305f\u3082\u306e\u3002<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.flickr.com\/photos\/matoken\/12761030403\/player\/31270f443b\" height=\"432\" width=\"400\"  frameborder=\"0\" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen><\/iframe><\/p>\n<p>\u3055\u3059\u304c\u306b\u3042\u307e\u308a\u5c0f\u3055\u3044\u753b\u50cf\u3060\u3068\u30a4\u30de\u30a4\u30c1\u3067\u3059\u304c\u3001\u899a\u3048\u3066\u304a\u304f\u3068\u8272\u3005\u4f7f\u3048\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u30e1\u30e2\u3002<\/p>\n<pre><code>% montage -label %f -tile 2x2 -geometry 200 -quality 100 openlogo-nd-25.svg openlogo-nd-50.svg openlogo-nd-75.svg openlogo-nd-100.svg out.png\n% for i in openlogo-nd-*.svg ;do convert -geometry 1000x1230 -crop 400x400+200+200 $i $i-corp.png; done\n% montage -label %f -tile 2x2 -geometry 200 -quality 100 openlogo-nd-25.svg-corp.png openlogo-nd-50.svg-corp.png openlogo-nd-75.svg-corp.png openlogo-nd-100.svg-corp.png corp.png\n<\/code><\/pre>\n<p><iframe src=\"http:\/\/rcm-fe.amazon-adsystem.com\/e\/cm?t=matokensmeme-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=4844326473&#038;ref=tf_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>P2VJ P2VJ \u3068\u3044\u3046\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u5f62\u5f0f\u306e\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30d9\u30af\u30bf\u30fc\u5f62\u5f0f\u306eSVG\u5f62\u5f0f\u306b\u5909\u63db\u3059\u308b\u30bd\u30d5\u30c8\u3092\u898b\u304b\u3051\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u3069\u3046\u3044\u3063\u305f\u3082\u306e\u304b\u3068\u3044\u3046\u3068\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u5f62\u5f0f\u306ePNG\/Jpeg\/BMP \u306e\u753b\u50cf\u3092SVG \u304bP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[1],"tags":[273],"class_list":["post-401","post","type-post","status-publish","format-standard","hentry","category-1","tag-273"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=401"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/401\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}