in reply to Re: Answer: How can I get image height and width without using Image::Size?
in thread How can I get image height and width without using Image::Size?

This of course does not work for files that are called My pic of a 4x4 car.jpg :)

But identify has options!

my ($x, $y) = (`identify -format "%w,%h" -quiet $image_file` =~ m/(\d+)/g);

In whatever prefered context or style.


Enjoy, Have FUN! H.Merijn