2020-05-16 00:12:43 +01:00
|
|
|
# identify
|
|
|
|
|
2024-01-25 05:28:11 +00:00
|
|
|
> Describe the format and characteristics of image files.
|
2023-10-05 07:52:40 +01:00
|
|
|
> Part of ImageMagick.
|
2020-05-16 00:12:43 +01:00
|
|
|
> More information: <https://imagemagick.org/script/identify.php>.
|
|
|
|
|
2021-10-14 04:22:36 +01: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}}`
|
|
|
|
|
2023-10-05 07:52:40 +01:00
|
|
|
- Collect dimensions of all JPEG files in the current directory and save them into a CSV file:
|
2020-05-16 00:12:43 +01:00
|
|
|
|
2023-10-05 07:52:40 +01:00
|
|
|
`identify -format "{{%f,%w,%h\n}}" {{*.jpg}} > {{path/to/filelist.csv}}`
|