From: Tim Hunter Date: 2007-06-25T20:31:11+09:00 Subject: Re: RMagick-Is it possible to read the resolution of the image? Ashwin Kumar wrote: > Hi, > > Is it possible to read the resolution of the image when the user > uploads > a image file? > I was going thru. RMagick docs, but i could not find anything. > Any help is appreciated !!! > > Regards, > Ashwin Kumar > > Use the x_resolution and y_resolution attributes: http://www.simplesystems.org/RMagick/doc/imageattrs.html#x_resolution -- RMagick OS X Installer [http://rubyforge.org/projects/rmagick/] RMagick Hints & Tips [http://rubyforge.org/forum/forum.php?forum_id=1618] RMagick Installation FAQ [http://rmagick.rubyforge.org/install-faq.html]