identify(1)

๐Ÿ“ฆ
version 7.1.2.35 ยท 5 versions
, in alpine 3.24, arch rolling, epel 10, fedora 43, fedora 44

๐Ÿ’– identify(1) โ€” the ImageMagick glow-up page ๐Ÿ’–

okay bestie, pull up a chair, because this is identify(1) from the General Commands Manual and it is literally the coolest little detective in the ImageMagick(1) squad. she doesn't edit anything, she just looks at your images and tells you everything she sees. nosy? yes. iconic? also yes. ๐Ÿ•ต๏ธโ™€๏ธโœจ


๐ŸŒธ NAME ๐ŸŒธ

identify โ€” describes the format and characteristics of one or more image files.


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

magick identify [options] input-file

๐Ÿฆ‹ OVERVIEW ๐Ÿฆ‹

so identify is a member of the ImageMagick(1) suite of tools, and her whole job is describing the format and characteristics of one or more image files. she also reports if an image is incomplete or corrupt โ€” yes she will absolutely tell you your file is a mess, but she's never mean about it, she's just honest. ๐Ÿ’…

here's the info she hands you:

  • the image number
  • the file name
  • the width and height of the image
  • whether the image is colormapped or not
  • the number of colors in the image (this is off by default โ€” use the -define unique=true option to turn it on)
  • the number of bytes in the image
  • the format of the image (JPEG, PNM, etc.)
  • and finally the number of seconds it took to read and process the image

and that's just the baseline, bestie. there are so many more attributes available with the verbose option. main character info dump energy fr fr. ๐ŸŒˆ

want more? point your browser at file:///usr/share/doc/ImageMagick-7/www/identify.html or https://imagemagick.org/script/identify.php. ๐Ÿซถ


โœจ DESCRIPTION โœจ

๐ŸŒท Image Settings ๐ŸŒท

  • -alpha option โ€” on, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape
  • -antialias โ€” remove pixel-aliasing
  • -authenticate value โ€” decrypt image with this password
  • -clip โ€” clip along the first path from the 8BIM profile
  • -clip-mask filename โ€” associate a clip mask with the image
  • -clip-path id โ€” clip along a named path from the 8BIM profile
  • -colorspace type โ€” alternate image colorspace
  • -crop geometry โ€” cut out a rectangular region of the image
  • -define format:option โ€” define one or more image format options
  • -define unique=true โ€” return the number of unique colors in the image
  • -density geometry โ€” horizontal and vertical density of the image
  • -depth value โ€” image depth
  • -endian type โ€” endianness (MSB or LSB) of the image
  • -extract geometry โ€” extract area from image
  • -features distance โ€” analyze image features (e.g. contrast, correlation)
  • -format "string" โ€” output formatted image characteristics
  • -fuzz distance โ€” colors within this distance are considered equal
  • -gamma value โ€” of gamma correction
  • -interlace type โ€” type of image interlacing scheme
  • -interpolate method โ€” pixel color interpolation method
  • -limit type value โ€” pixel cache resource limit
  • -list type โ€” Color, Configure, Delegate, Format, Magic, Module, Resource, or Type
  • -matte โ€” store matte channel if the image has one
  • -moments โ€” report image moments
  • -monitor โ€” monitor progress
  • -ping โ€” efficiently determine image attributes
  • -precision value โ€” maximum number of significant digits to print
  • -quiet โ€” suppress all warning messages
  • -read-mask filename โ€” associate a read mask with the image
  • -regard-warnings โ€” pay attention to warning messages
  • -respect-parentheses โ€” settings remain in effect until parenthesis boundary
  • -sampling-factor geometry โ€” horizontal and vertical sampling factor
  • -seed value โ€” seed a new sequence of pseudo-random numbers
  • -set attribute value โ€” set an image attribute
  • -size geometry โ€” width and height of image
  • -strip โ€” strip image of all profiles and comments
  • -unique โ€” display the number of unique colors in the image
  • -units type โ€” the units of image resolution
  • -verbose โ€” print detailed information about the image
  • -virtual-pixel method โ€” virtual pixel access method

๐Ÿ’œ Image Operators ๐Ÿ’œ

  • -auto-orient โ€” automatically orient image
  • -channel mask โ€” set the image channel mask
  • -grayscale method โ€” convert image to grayscale
  • -negate โ€” replace each pixel with its complementary color

๐Ÿ“ Miscellaneous Options ๐Ÿ“

  • -debug events โ€” display copious debugging information
  • -help โ€” print program options
  • -list type โ€” print a list of supported option arguments
  • -log format โ€” format of debugging information
  • -version โ€” print version information

by default, the image format of file is determined by its magic number. โœจ to specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). and if you want standard input or output, specify 'file' as '-'. easy.


๐Ÿ™ˆ NOTE ๐Ÿ™ˆ

okay so this is important, don't skip it. although some options appear to modify the file to be identified, the identify command is strictly read only. she is not touching your file, periodt. for instance, the crop option crops the in-memory image and then describes the result. the actual file on disk? untouched. she's just peeking, not rearranging. ๐Ÿ‘‘


๐Ÿ’ซ SEE ALSO ๐Ÿ’ซ


Copyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/ImageMagick-7/www/license.html or https://imagemagick.org/license/


that's the whole page bestie, you ate it. now go identify something and feel powerful. ๐Ÿ’–

anyway, this little love letter comes to you from ImageMagick, dated Date: 2009/01/10 01:00:00, and yeah โ€” it's the identify(1) page, slay. ๐ŸŒธ๐Ÿ’…๐Ÿฆ‹