imginfo [options]
The imginfo command displays information about an image. This command is really only intended to be used from shell scripts for testing purposes.
The following options are supported:
--help--version--verbose-f $file$file. If this option is not specified, the image is read from standard input.--list-enabled-formats--memory-limit $n$n bytes.--debug-level $level$level.--max-samples $n$n.--decoder-option $string$string to the list of decoder options.To obtain information on how to use the imginfo program, use the command:
imginfo --help
Suppose that we would like to print information about an image stored in the file name image.jp2. This could be accomplished by using the command:
imginfo < image.jp2
Alternatively, the following command could be used:
imginfo -f image.jp2