画像のサイズを取得する FastImage 参考: sdsykes/fastimage: FastImage finds the size or type of an image given its uri by fetching as little as needed – GitHub Fast way to get remote image dimensions – Stack Overflow rubyのfastimageで簡単に画像サイズを取得する方法 | Hive Color タグ: Ruby