From: Joe Van Dyk Date: 2005-04-12T07:29:57+09:00 Subject: Re: RMagick question On Apr 11, 2005 3:24 PM, wannes wrote: > Joe Van Dyk wrote: > > Another RMagick question: > > I'm trying to get the width and height (in pixels) of an image. I've > > searched the docs and the closest I can find to what I want is the > > geometry string. But the string is something like > > "3488" or something weird like that. > > Isn't there an easier way to get the width/height of an image? > > http://studio.imagemagick.org/RMagick/doc/imageattrs.html#rows > http://studio.imagemagick.org/RMagick/doc/imageattrs.html#columns > > didn't test it, but seems logical. > > grtz, > wannes Yeah, I finally found it. I was searching for "width" and "height" and I didn't think to check "rows" or "columns". :( Thanks!