identify

Describe the format and characteristics of image files. Part of ImageMagick. More information: https://imagemagick.org/script/identify.php.

identify path/to/image

identify -verbose path/to/image

identify -format "%f,%w,%h\n" *.jpg > path/to/filelist.csv