identify - describes the format and characteristics of one or more image files. 

To get the details of images
$ identify pic1.jpg
$ identify pic2.jpeg
$ identify pic3.png



regards,
T.Dhanasekar