From: Remco van 't Veer Date: 2008-03-06T19:29:30+09:00 Subject: Re: tiff width/height? TIFF is a bit hairy so it's pretty hard to do this in a one-liner. Try EXIF Reader[1]; $ sudo gem install exifr .. $ irb -rubygems >> require 'exifr' => true >> EXIFR::TIFF.new('some_image.tif').width => 269 [1] http://exifr.rubyforge.org/ On Tue, Mar 4, 2008 at 7:39 PM, matt neuburg wrote: > Does anyone have Ruby code for reading a TIFF image file's width/height > tags? Thx - m. > > -- > matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ > Leopard - http://www.takecontrolbooks.com/leopard-customizing.html > AppleScript - http://www.amazon.com/gp/product/0596102119 > Read TidBITS! It's free and smart. http://www.tidbits.com > > -- http://blog.remvee.net/