{"id":544,"date":"2011-08-09T23:43:25","date_gmt":"2011-08-09T14:43:25","guid":{"rendered":"http:\/\/blog.xcir.net\/?p=544"},"modified":"2011-08-09T23:46:14","modified_gmt":"2011-08-09T14:46:14","slug":"%e6%90%ba%e5%b8%af%e5%90%91%e3%81%91%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3gif%e3%82%92imagemagick%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%aa%e3%82%b5%e3%82%a4%e3%82%ba","status":"publish","type":"post","link":"https:\/\/blog.xcir.net\/?p=544","title":{"rendered":"\u643a\u5e2f\u5411\u3051\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3gif\u3092imagemagick\u3092\u4f7f\u3063\u3066\u30ea\u30b5\u30a4\u30ba\u3059\u308b\u65b9\u6cd5(php)"},"content":{"rendered":"<p>\u6614\u3084\u3063\u3066\u305f\u30d6\u30ed\u30b0\uff08\u9589\u9396\uff09\u306e\u30cd\u30bf\u518d\u5229\u7528\u3067\u3059\u304c<br \/>\n\u305f\u307e\u305f\u307e\u691c\u7d22\u3057\u3066\u307f\u305f\u3089\u52d5\u304f\u60c5\u5831\u304c\u3042\u3093\u307e\u308a\u306a\u304b\u3063\u305f\u306e\u3067\u518d\u5ea6\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u8a18\u4e8b\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u643a\u5e2f\u3067\u3088\u304f\u3042\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3GIF\u3067\u3059\u304c\u30ea\u30b5\u30a4\u30ba\u3092\u3092\u884c\u3046\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<br \/>\n\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306e\u5834\u5408\u306f\u30c0\u30e1\u3067\u3059<\/p>\n<h3>\u610f\u56f3\u3057\u305f\u3088\u3046\u306b\u52d5\u304b\u306a\u3044\u30b3\u30fc\u30c9<\/h3>\n<pre class=\"brush: php; \">\n\r\n&lt;?php\r\n\/\/\u5143\u30d5\u30a1\u30a4\u30eb\r\n$src=&#039;src.gif&#039;;\r\n\/\/\u66f8\u304d\u8fbc\u307f\u30d5\u30a1\u30a4\u30eb\r\n$dest=&#039;dest.gif&#039;;\r\n$im=new Imagick($src);\r\n\/\/\u30b5\u30e0\u30cd\u4f5c\u6210\r\n$im-&gt;thumbnailImage(40, 0);\r\n\/\/\u66f8\u304d\u8fbc\u307f\r\n$im-&gt;writeImage($dest);\r\n$im-&gt;destroy();\r\nexit;\r\n\n<\/pre>\n<p>\u9759\u6b62\u753b\u306eGIF\u304c\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3059\u3002<br \/>\n\u305d\u3053\u3067\u753b\u50cf\u30b7\u30fc\u30b1\u30f3\u30b9\u3092\u66f8\u304d\u8fbc\u3080writeImages\u3092\u4f7f\u3063\u3066\u307f\u307e\u3059<\/p>\n<pre class=\"brush: php; \">\n\r\n$im-&gt;writeImages($dest,true);\r\n\n<\/pre>\n<p>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3GIF\u306f\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u6700\u5f8c\u306e\u30d5\u30ec\u30fc\u30e0\u306e\u307f\u304c\u30ea\u30b5\u30a4\u30ba\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\n\u305d\u3053\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7dad\u6301\u3057\u3064\u3064\u30ea\u30b5\u30a4\u30ba\u3092\u884c\u3046\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h3>\u30c6\u30b9\u30c8\u74b0\u5883<\/h3>\n<p>\u4ee5\u4e0b\u306e\u74b0\u5883\u3067\u884c\u3044\u307e\u3057\u305f<br \/>\n\u30fbphp 5.3.4<br \/>\n\u30fbImageMagick 6.2.8<br \/>\n\u30fbimagick 3.0.1<\/p>\n<h3>\u6ce8\u610f\u3059\u308b\u70b9<\/h3>\n<p>\u643a\u5e2f\u5411\u3051\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3GIF\u306e\u30ea\u30b5\u30a4\u30ba\u3092\u884c\u3046\u4e0a\u3067\u5e7e\u3064\u304b\u6ce8\u610f\u3059\u308b\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30fb\u5404\u30d5\u30ec\u30fc\u30e0\u306e\u79fb\u52d5<br \/>\n\u30fb\u5404\u30d5\u30ec\u30fc\u30e0\u306e\u30aa\u30d5\u30bb\u30c3\u30c8\u8abf\u6574<br \/>\n\u30fb\u30ed\u30fc\u30ab\u30eb\u30d1\u30ec\u30c3\u30c8\u3068\u30b0\u30ed\u30fc\u30d0\u30eb\u30d1\u30ec\u30c3\u30c8<\/p>\n<h3>\u30ad\u30fc\u306b\u306a\u308b\u5b9a\u6570\u3068\u30e1\u30bd\u30c3\u30c9<\/h3>\n<blockquote><p>\u30d5\u30ec\u30fc\u30e0\u306e\u79fb\u52d5\u3000setFirstIterator()<br \/>\n\u30d5\u30ec\u30fc\u30e0\u306e\u79fb\u52d5\u3000nextImage();<br \/>\n\u30d1\u30ec\u30c3\u30c8\u95a2\u4fc2\u3000resizeImage();<br \/>\n\u30d1\u30ec\u30c3\u30c8\u95a2\u4fc2\u3000imagick::FILTER_POINT<br \/>\n\u30aa\u30d5\u30bb\u30c3\u30c8\u8abf\u6574\u3000getImagePage()<br \/>\n\u30aa\u30d5\u30bb\u30c3\u30c8\u8abf\u6574\u3000setImagePage<br \/>\n\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u66f8\u304d\u51fa\u3057\u3000writeImages()\n<\/p><\/blockquote>\n<h3>\u30ed\u30fc\u30ab\u30eb\u30d1\u30ec\u30c3\u30c8\u3068\u30b0\u30ed\u30fc\u30d0\u30eb\u30d1\u30ec\u30c3\u30c8\u306b\u3064\u3044\u3066<\/h3>\n<p>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3GIF\u306f\u3001\u30d1\u30e9\u30d1\u30e9\u30de\u30f3\u30ac\u306a\u308f\u3051\u3067\u3059\u304c<br \/>\n\u305d\u306e\u5404\u30d5\u30ec\u30fc\u30e0\u3067\u30d1\u30ec\u30c3\u30c8\u3092\u6301\u3064\u304b\u3001\u5168\u4f53\u3067\u3072\u3068\u3064\u306e\u30d1\u30ec\u30c3\u30c8\u3092\u6301\u3064\u304b\u304c\u9078\u3079\u307e\u3059\u3002<br \/>\n\u5404\u30d5\u30ec\u30fc\u30e0\u3067\u6301\u3064\u306e\u304c<strong>\u30ed\u30fc\u30ab\u30eb\u30d1\u30ec\u30c3\u30c8<\/strong>\u3067<br \/>\n\u5168\u4f53\u3067\u3072\u3068\u3064\u306a\u306e\u304c<strong>\u30b0\u30ed\u30fc\u30d0\u30eb\u30d1\u30ec\u30c3\u30c8<\/strong>\u3067\u3059\u3002<br \/>\n\u3082\u3061\u308d\u3093\u3001\u5404\u30d5\u30ec\u30fc\u30e0\u3067\u30d1\u30ec\u30c3\u30c8\u3092\u3092\u6301\u3064\u30ed\u30fc\u30ab\u30eb\u30d1\u30ec\u30c3\u30c8\u306f\u30b5\u30a4\u30ba\u304c\u82e5\u5e72\u5927\u304d\u3081\u3067\u3059\u3002<br \/>\n\u307e\u305f\u3001\u3053\u308c\u304c\u5927\u4e8b\u306a\u306e\u3067\u3059\u304c\u643a\u5e2f\u306b\u3064\u3044\u3066\u306f\u57fa\u672c\u30b0\u30ed\u30fc\u30d0\u30eb\u30d1\u30ec\u30c3\u30c8\u304c\u671b\u307e\u3057\u3044\u3067\u3059\u3002<br \/>\n\u3053\u308c\u306f\u4e00\u90e8\u306eAU\u7aef\u672b\u306b\u304a\u3044\u3066\u3001\u30ed\u30fc\u30ab\u30eb\u30d1\u30ec\u30c3\u30c8\u306eGIF\u3092\u8aad\u307f\u8fbc\u307e\u305b\u3066\u3082<br \/>\n\u6700\u521d\u306e\u30d5\u30ec\u30fc\u30e0\u306e\u30d1\u30ec\u30c3\u30c8\u3057\u304b\u4f7f\u7528\u3057\u306a\u3044\u305f\u3081\u3001\u3082\u30572\u30d5\u30ec\u30fc\u30e0\u4ee5\u964d\u3067\u540c\u3058\u8272\u3092\u4f7f\u3063\u3066\u3044\u3066\u3082\u8272\u304c\u60f3\u5b9a\u5916\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ed\u30fc\u30ab\u30eb\u30d1\u30ec\u30c3\u30c8\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>1\u30d5\u30ec\u30fc\u30e0\u76ee\u30000=000000 1=ffffff 2=ff0000 3=00ff00 4=0000ff (\u30a4\u30f3\u30c7\u30c3\u30af\u30b9:\u8272)<br \/>\n2\u30d5\u30ec\u30fc\u30e0\u76ee\u30000=000000 1=ffffff 2=00ff00 3=ff0000 4=0000ff (\u30a4\u30f3\u30c7\u30c3\u30af\u30b9:\u8272)\n<\/p><\/blockquote>\n<p>2\u30d5\u30ec\u30fc\u30e0\u76ee\u3067\u8d64\u8272\u3092\u3060\u305d\u3046\u3068\u30a4\u30f3\u30c7\u30c3\u30af\u30b93\u3092\u4f7f\u3063\u305f\u3068\u3057\u3066\u3082\u3001AU\u4e00\u90e8\u7aef\u672b\u3067\u6700\u521d\u306e\u30d5\u30ec\u30fc\u30e0\u306e\u30d1\u30ec\u30c3\u30c8\u304c\u4f7f\u308f\u308c\u308b\u305f\u3081\u7dd1\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30b3\u30fc\u30c9<\/h3>\n<pre class=\"brush: php; \">\n\r\n&lt;?php\r\n\t\/\/\u8aad\u307f\u8fbc\u307f\u753b\u50cf\u306e\u6307\u5b9a\r\n\t$src=&quot;src.gif&quot;;\r\n\t\/\/\u51fa\u529b\u753b\u50cf\u306e\u6307\u5b9a\r\n\t$dest=&quot;dest.gif&quot;;\r\n\t\/\/\u6a2a\u5e45\u306e\u500d\u7387\r\n\t$scale_w=0.5;\r\n\t\/\/\u7e26\u5e45\u306e\u500d\u7387\r\n\t$scale_h=0.5;\r\n\t\/\/\u753b\u50cf\u8aad\u307f\u8fbc\u307f\r\n\t$image=new Imagick($src);\r\n\t\/\/\u30a4\u30c6\u30ec\u30fc\u30bf\u30fc\u306e\u521d\u671f\u5316\uff08\u30d5\u30ec\u30fc\u30e0\u3092\u5148\u982d\u306b\u3059\u308b\uff09\r\n\t$image-&gt;setFirstIterator();\r\n\tdo{\/\/\u5404\u30d5\u30ec\u30fc\u30e0\u51e6\u7406\r\n\t\t\/\/\u30d5\u30ec\u30fc\u30e0\u306e\u30b8\u30aa\u30e1\u30c8\u30ea\u60c5\u5831\u306e\u53d6\u5f97\uff08\u30aa\u30d5\u30bb\u30c3\u30c8\u4f4d\u7f6e\u4ed8\u304d\uff09\r\n\t\t$par=$image-&gt;getImagePage();\r\n\t\t\/\/\u30ea\u30b5\u30a4\u30ba\u3059\u308b\r\n\t\t$image-&gt;resizeImage(\r\n\t\t\tceil($image-&gt;getImageWidth()*$scale_w),\r\n\t\t\tceil($image-&gt;getImageHeight()*$scale_h),\r\n\t\t\timagick::FILTER_POINT,\/\/\u30a2\u30f3\u30c1\u30a8\u30a4\u30ea\u30a2\u30b9\u3057\u306a\u3044\r\n\t\t\t1\r\n\t\t\t);\r\n\t\t\/\/\u30d5\u30ec\u30fc\u30e0\u306e\u30b8\u30aa\u30e1\u30c8\u30ea\u60c5\u5831\u306e\u8a2d\u5b9a\r\n\t\t$image-&gt;setImagePage(\r\n\t\t\tceil($par[&#039;width&#039;]*$scale_w),\r\n\t\t\tceil($par[&#039;height&#039;]*$scale_h),\r\n\t\t\tceil($par[&#039;x&#039;]*$scale_w),\r\n\t\t\tceil($par[&#039;y&#039;]*$scale_h)\r\n\t\t);\r\n        }while($image-&gt;nextImage());\/\/\u6b21\u306e\u30d5\u30ec\u30fc\u30e0\u3078\r\n        \/\/\u66f8\u304d\u51fa\u3057\r\n        $image-&gt;writeImages($dest, true);\r\n\n<\/pre>\n<h3>\u30dd\u30a4\u30f3\u30c8\u306e\u89e3\u8aac<\/h3>\n<blockquote><p>$image->setFirstIterator();\n<\/p><\/blockquote>\n<p>\u898b\u308b\u30d5\u30ec\u30fc\u30e0\u306e\u4f4d\u7f6e\u3092\u5148\u982d\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>$par=$image->getImagePage();\n<\/p><\/blockquote>\n<p>\u30b8\u30aa\u30e1\u30c8\u30ea\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u307e\u3059<br \/>\n\u306b\u305f\u3088\u3046\u306a\u306e\u3067getImageGeometry\u3063\u3066\u306e\u3082\u3042\u308a\u307e\u3059\u304c<br \/>\n\u30aa\u30d5\u30bb\u30c3\u30c8\u304c\u53d6\u308c\u306a\u3044\u306e\u3067\u3053\u3063\u3061\u3067\u3059<\/p>\n<blockquote><p>imagick::FILTER_POINT<\/p><\/blockquote>\n<p>\u901a\u5e38\u306e\u30ea\u30b5\u30a4\u30ba\u306e\u5834\u5408scaleImage\u3042\u305f\u308a\u3092\u4f7f\u3063\u305f\u308a\u3057\u307e\u3059\u304c<br \/>\n\u3053\u306e\u5834\u5408\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30a2\u30f3\u30c1\u30a8\u30a4\u30ea\u30a2\u30b9\u304c\u8d70\u3063\u3066\u78ba\u5b9f\u306b\u30d1\u30ec\u30c3\u30c8\u306e\u60c5\u5831\u304c\u5909\u308f\u308a\u307e\u3059\u3002<br \/>\n\u3057\u304b\u3082\u30ed\u30fc\u30ab\u30eb\u30d1\u30ec\u30c3\u30c8\uff08\u5404\u30d5\u30ec\u30fc\u30e0\u3067\u7570\u306a\u308b\u30d1\u30ec\u30c3\u30c8\u4fdd\u6301\uff09\u306b\u306a\u308b\u306e\u3067\u643a\u5e2f\u3060\u3068\u898b\u308c\u307e\u305b\u3093\u3002<br \/>\n\u6b63\u76f4\u30b8\u30e3\u30ae\u30fc\u304c\u76ee\u7acb\u3061\u307e\u3059\u304c\u3057\u3087\u3046\u304c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\nPC\u5411\u3051\u306a\u3089scaleImage\u3067\u304b\u307e\u308f\u306a\u3044\u3068\u304a\u3082\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>$image->setImagePage\n<\/p><\/blockquote>\n<p>\u3053\u3053\u3067\u6307\u5b9a\u3059\u308bwidth,height\u306f\u3001\u30ea\u30b5\u30a4\u30ba\u3067\u6307\u5b9a\u3057\u305f\u753b\u50cf\u30b5\u30a4\u30ba\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<blockquote><p>$image->nextImage()\n<\/p><\/blockquote>\n<p>\u30d5\u30ec\u30fc\u30e0\u3092\u9032\u3081\u307e\u3059\u3002<\/p>\n<blockquote><p>$image->writeImages($dest, true);<\/p><\/blockquote>\n<p>writeImage\u3058\u3083\u306a\u3044\u306e\u3067\u6ce8\u610f\u3002<br \/>\ntrue\u3092\u6307\u5b9a\u3057\u306a\u3044\u3068\u3001\u30d5\u30ec\u30fc\u30e0\u3054\u3068\u306b\u9023\u756a\u3067\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_hatena\"><a href='\/\/b.hatena.ne.jp\/add?mode=confirm&url=https%3A%2F%2Fblog.xcir.net%2F%3Fp%3D544&title=%E6%90%BA%E5%B8%AF%E5%90%91%E3%81%91%E3%82%A2%E3%83%8B%E3%83%A1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3gif%E3%82%92imagemagick%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%83%AA%E3%82%B5%E3%82%A4%E3%82%BA%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%28php%29' title='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/blog.xcir.net\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/hatena.gif' alt='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' title='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' width='16' height='12' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_hatena_users\"><a href='\/\/b.hatena.ne.jp\/entry\/https:\/\/blog.xcir.net\/?p=544' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - \u643a\u5e2f\u5411\u3051\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3gif\u3092imagemagick\u3092\u4f7f\u3063\u3066\u30ea\u30b5\u30a4\u30ba\u3059\u308b\u65b9\u6cd5(php)' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='\/\/b.hatena.ne.jp\/entry\/image\/https:\/\/blog.xcir.net\/?p=544' alt='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - \u643a\u5e2f\u5411\u3051\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3gif\u3092imagemagick\u3092\u4f7f\u3063\u3066\u30ea\u30b5\u30a4\u30ba\u3059\u308b\u65b9\u6cd5(php)' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - \u643a\u5e2f\u5411\u3051\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3gif\u3092imagemagick\u3092\u4f7f\u3063\u3066\u30ea\u30b5\u30a4\u30ba\u3059\u308b\u65b9\u6cd5(php)'   class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_facebook\"><a href='http:\/\/www.facebook.com\/share.php?u=https%3A%2F%2Fblog.xcir.net%2F%3Fp%3D544&t=%E6%90%BA%E5%B8%AF%E5%90%91%E3%81%91%E3%82%A2%E3%83%8B%E3%83%A1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3gif%E3%82%92imagemagick%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%83%AA%E3%82%B5%E3%82%A4%E3%82%BA%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%28php%29' title='Facebook \u306b\u30b7\u30a7\u30a2' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/blog.xcir.net\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/facebook.png' alt='Facebook \u306b\u30b7\u30a7\u30a2' title='Facebook \u306b\u30b7\u30a7\u30a2' width='16' height='16' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_linkedin\"><a href='\/\/www.linkedin.com\/shareArticle?mini=true&url=https%3A%2F%2Fblog.xcir.net%2F%3Fp%3D544&title=%E6%90%BA%E5%B8%AF%E5%90%91%E3%81%91%E3%82%A2%E3%83%8B%E3%83%A1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3gif%E3%82%92imagemagick%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%83%AA%E3%82%B5%E3%82%A4%E3%82%BA%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%28php%29' title='LinkedIn \u306b\u30b7\u30a7\u30a2' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/blog.xcir.net\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/linkedin.png' alt='LinkedIn \u306b\u30b7\u30a7\u30a2' title='LinkedIn \u306b\u30b7\u30a7\u30a2' width='16' height='16' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/blog.xcir.net\/?p=544\" data-text=\"\u643a\u5e2f\u5411\u3051\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3gif\u3092imagemagick\u3092\u4f7f\u3063\u3066\u30ea\u30b5\u30a4\u30ba\u3059\u308b\u65b9\u6cd5(php)\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u6614\u3084\u3063\u3066\u305f\u30d6\u30ed\u30b0\uff08\u9589\u9396\uff09\u306e\u30cd\u30bf\u518d\u5229\u7528\u3067\u3059\u304c \u305f\u307e\u305f\u307e\u691c\u7d22\u3057\u3066\u307f\u305f\u3089\u52d5\u304f\u60c5\u5831\u304c\u3042\u3093\u307e\u308a\u306a\u304b\u3063\u305f\u306e\u3067\u518d\u5ea6\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u8a18\u4e8b\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u643a\u5e2f\u3067\u3088\u304f\u3042\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3GIF\u3067\u3059\u304c\u30ea\u30b5\u30a4\u30ba\u3092\u3092\u884c\u3046\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3057\u3087\u3046\u304b\uff1f <a href='https:\/\/blog.xcir.net\/?p=544' class='excerpt-more'>[&#8230;]<\/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],"tags":[28,9],"class_list":["post-544","post","type-post","status-publish","format-standard","hentry","category-3","tag-imagemagick","tag-php","category-3-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=544"}],"version-history":[{"count":14,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/544\/revisions"}],"predecessor-version":[{"id":557,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/544\/revisions\/557"}],"wp:attachment":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}