1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:42:08 +02:00
tldr/pages/common/magick-identify.md
Lena 80cc7a5af3
imagemagick: update pages (#12874)
* compare, convert, identify, import, mogrify, montage:
   move pages to subcommands of `magick`, create alias pages

* convert: add deprecation notice

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-06-03 13:40:59 +02:00

552 B

magick identify

Describe the format and characteristics of image files. See also: magick. More information: https://imagemagick.org/script/identify.php.

  • Describe the format and basic characteristics of an image:

magick identify {{path/to/image}}

  • Describe the format and verbose characteristics of an image:

magick identify -verbose {{path/to/image}}

  • Collect dimensions of all JPEG files in the current directory and save them into a CSV file:

magick identify -format "{{%f,%w,%h\n}}" {{*.jpg}} > {{path/to/filelist.csv}}