Re: Get Image Size

RMagick can also be used to get an image size (and to change images in
many
ways.
Use,e.g.,
cheetah = Magick::Image.ping(“Cheetah.jpg”) »

[Cheetah.jpg JPEG 1024x768 DirectClass 8-bit 101684b]

p cheetah[0].rows » 768

p cheetah[0].columns » 1024

see :
_RMagick 1.15.0: class Image (class and instance methods, part 1)
(RMagick 1.15.0: class Image (class and instance methods, part 1))

Best regards,

Axel

Many thanks to both of you!

You’ve been a great help.