{"version":"1.0","author_name":"shokai","provider_url":"https://hatena.blog","title":"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u753b\u50cf\u306e\u30b5\u30a4\u30ba\u4e00\u89a7\u3092\u51fa\u529b","blog_url":"https://shokai.hatenadiary.org/","provider_name":"Hatena Blog","published":"2009-08-06 03:50:35","type":"rich","height":"190","image_url":null,"blog_title":"\u6a4b\u672c\u8a73\u89e3","description":"rmagick\u3092\u4f7f\u3046 #!/usr/bin/env ruby require 'rubygems' require 'RMagick' include Magick PREFIX = \"dirname/\" path = ARGV.shift exit(1) if path == nil Dir.glob(path+\"*.png\").each{|i| img = Image.from_blob(File.read(i)).shift puts \"#{PREFIX}#{i.split(/\\//).last} 1 0 0 #{img.rows} #{img.columns}\" }","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20090806%2F1249584635\" title=\"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u753b\u50cf\u306e\u30b5\u30a4\u30ba\u4e00\u89a7\u3092\u51fa\u529b - \u6a4b\u672c\u8a73\u89e3\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/shokai/","width":"100%","categories":["Ruby"],"url":"https://shokai.hatenadiary.org/entry/20090806/1249584635"}