Install imageinfo by entering the following commands in the terminal:
sudo apt update sudo apt install imageinfo
Description:
Displays selected image attributes
imageinfo prints image attributes (e.g. format, geometry) selected via command line options. It is similar in function to the ImageMagick "identify" utility, but provides some additional attributes (such as details of embedded ICC profiles), and is more convenient for use within a script since the command line selection of specific attributes avoids unnecessary computation and allows easier parsing of the result.
Version: 0.04-0ubuntu11
Section: universe/graphics