If I'm using file_column and RMagick to upload images and associate them with my database records, what should I do to find out the exact dimensions of a given image?
I can use the url_for_file_column command to link to them, but I'm not sure how to find out the image's height and width in my program.
I don't remember where I got it, but this works for jpegs... used like:
jpeg = JPEG.new("some.jpeg") puts jpeg.width puts jpeg.height