2020-05-15 16:12:43 -07:00
|
|
|
# identify
|
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
> Command-line utility of Image Magick project to describe the format and characteristics of one or more image files.
|
2020-05-15 16:12:43 -07:00
|
|
|
> More information: <https://imagemagick.org/script/identify.php>.
|
|
|
|
|
2021-10-13 23:22:36 -04:00
|
|
|
- Describe the format and basic characteristics of an image:
|
|
|
|
|
|
|
|
`identify {{path/to/image}}`
|
|
|
|
|
|
|
|
- Describe the format and verbose characteristics of an image:
|
|
|
|
|
|
|
|
`identify -verbose {{path/to/image}}`
|
|
|
|
|
2021-08-15 19:59:09 +02:00
|
|
|
- Collect dimensions of all JPEG files under current directory:
|
2020-05-15 16:12:43 -07:00
|
|
|
|
2021-10-13 23:22:36 -04:00
|
|
|
`identify -format "%f,%w,%h\n" *.{{jpg}} > {{path/to/filelist.csv}}`
|