{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.itandi.co.jp%2Fentry%2F2016%2F04%2Fimage_diff_with_imagemagick%2F\" title=\"\u540c\u3058\u753b\u50cf\u3092\u5224\u5b9a\u3059\u308bruby\u30b9\u30af\u30ea\u30d7\u30c8 - ITANDI Engineer Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"blog_title":"ITANDI Engineer Blog","title":"\u540c\u3058\u753b\u50cf\u3092\u5224\u5b9a\u3059\u308bruby\u30b9\u30af\u30ea\u30d7\u30c8","url":"https://tech.itandi.co.jp/entry/2016/04/image_diff_with_imagemagick/","version":"1.0","author_name":"itandi-blog","width":"100%","published":"2016-04-12 14:00:07","provider_name":"Hatena Blog","height":"190","type":"rich","description":"\u3053\u3093\u306b\u3061\u308f\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30de\u30a4\u30b1\u30eb\u3067\u3059 \u7269\u4ef6\u753b\u50cf\u304c\u91cd\u8907\u3059\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308b\u306e\u3067ruby\u3067\u5224\u5b9a\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002 \u5224\u5b9a\u65b9\u6cd5 ImageMagick\u3092\u4f7f\u3044\u307e\u3059\u3001\u5177\u4f53\u7684\u306b\u306f\u3053\u3053\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u3053\u3068\u3092ruby\u304b\u3089\u3084\u308a\u307e\u3059\u3002 2\u679a\u306e\u753b\u50cf\u306ediff\uff08\u5dee\u5206\uff09\u3092\u8d85\u7c21\u5358\u306b\u8abf\u3079\u308b\u65b9\u6cd5 \u4e0b\u6e96\u5099 # ImageMagick\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059 brew install imagemagick # rmagick\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059 gem install rmagick \u30b3\u30fc\u30c7\u30a3\u30f3\u30b0 require \"rmagick\" def same_image?(image1_path, image2_path) # \u753b\u50cf\u2026","blog_url":"https://tech.itandi.co.jp/","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/itandi-blog/","categories":["ruby","Technology"]}