mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 16:43:08 +00:00
24 lines
617 B
Plaintext
24 lines
617 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# identify
|
|
|
|
> Describe the format and characteristics of image files.
|
|
> Part of ImageMagick.
|
|
> 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 in the current directory and save them into a CSV file:
|
|
|
|
`identify -format "{{%f,%w,%h
|
|
}}" {{*.jpg}} > {{path/to/filelist.csv}}`
|