RMagick-Is it possible to read the resolution of the image?

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

Ashwin Kumar wrote:

Use the x_resolution and y_resolution attributes:
http://www.simplesystems.org/RMagick/doc/imageattrs.html#x_resolution

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs