How to obtain the width an height of an image?

Hi friends i’ve problems to obtain the width and height of image, i want
to validate this, i follow the rmagick doc
(http://www.simplesystems.org/RMagick/doc/comtasks.html) , but this only
work fine in shell, but in web the web server don’t respond (webrick or
mongrel), i’m using this code for validate and upload the image:
http://rafb.net/paste/results/kGeePL83.html

thanks to all!

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