Function Reference
— Function File: hw = imginfo (filename)
— Function File: [h, w] = imginfo (filename)

Get image size from file filename.

The output is the size of the image

h
Height of image, in pixels.
w
Width of image, in pixels.
hw = [h, w]
Height and width of image.

NOTE : imginfo relies on the 'convert' program.