{"title":"exiftool\u3067\u52d5\u753b\u306e\u30b5\u30a4\u30ba\u3084\u56de\u8ee2\u3092\u53d6\u5f97","author_name":"shokai","type":"rich","provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20101114%2F1289725466\" title=\"exiftool\u3067\u52d5\u753b\u306e\u30b5\u30a4\u30ba\u3084\u56de\u8ee2\u3092\u53d6\u5f97 - \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>","blog_title":"\u6a4b\u672c\u8a73\u89e3","provider_name":"Hatena Blog","description":"exiftool\u3092\u5165\u308c\u308b sudo port install p5-image-exiftoolgem install mini_exiftool#!/usr/bin/env ruby require 'rubygems' require 'mini_exiftool' exif = MiniExiftool.new ARGV.first w = exif['ImageWidth'] h = exif['ImageHeight'] rot = exif['Rotation'] puts \"size:#{w}x#{h}, rotation:#{rot}\"","categories":["Mac","Ruby"],"width":"100%","url":"https://shokai.hatenadiary.org/entry/20101114/1289725466","version":"1.0","image_url":null,"author_url":"https://blog.hatena.ne.jp/shokai/","published":"2010-11-14 18:04:26","blog_url":"https://shokai.hatenadiary.org/"}