identify: add 2 examples (#6684)

This commit is contained in:
marcan2020
2021-10-13 23:22:36 -04:00
committed by GitHub
parent 96a3bb8dc8
commit afc5e4e55d

View File

@@ -3,6 +3,14 @@
> Command-line utility of Image Magick project to describe the format and characteristics of one or more image files.
> More information: <https://imagemagick.org/script/identify.php>.
- 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}}`
- Collect dimensions of all JPEG files under current directory:
`identify -format "%f,%w,%h\n" *.{{jpg}} > {{filelist.csv}}`
`identify -format "%f,%w,%h\n" *.{{jpg}} > {{path/to/filelist.csv}}`