identify(1)
๐ 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=trueoption 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 ๐ท
-alphaoption โon,activate,off,deactivate,set,opaque,copytransparent,extract,background, orshape-antialiasโ remove pixel-aliasing-authenticatevalue โ decrypt image with this password-clipโ clip along the first path from the 8BIM profile-clip-maskfilename โ associate a clip mask with the image-clip-pathid โ clip along a named path from the 8BIM profile-colorspacetype โ alternate image colorspace-cropgeometry โ cut out a rectangular region of the image-defineformat:option โ define one or more image format options-define unique=trueโ return the number of unique colors in the image-densitygeometry โ horizontal and vertical density of the image-depthvalue โ image depth-endiantype โ endianness (MSB or LSB) of the image-extractgeometry โ extract area from image-featuresdistance โ analyze image features (e.g. contrast, correlation)-format"string" โ output formatted image characteristics-fuzzdistance โ colors within this distance are considered equal-gammavalue โ of gamma correction-interlacetype โ type of image interlacing scheme-interpolatemethod โ pixel color interpolation method-limittype value โ pixel cache resource limit-listtype โColor,Configure,Delegate,Format,Magic,Module,Resource, orType-matteโ store matte channel if the image has one-momentsโ report image moments-monitorโ monitor progress-pingโ efficiently determine image attributes-precisionvalue โ maximum number of significant digits to print-quietโ suppress all warning messages-read-maskfilename โ associate a read mask with the image-regard-warningsโ pay attention to warning messages-respect-parenthesesโ settings remain in effect until parenthesis boundary-sampling-factorgeometry โ horizontal and vertical sampling factor-seedvalue โ seed a new sequence of pseudo-random numbers-setattribute value โ set an image attribute-sizegeometry โ width and height of image-stripโ strip image of all profiles and comments-uniqueโ display the number of unique colors in the image-unitstype โ the units of image resolution-verboseโ print detailed information about the image-virtual-pixelmethod โ virtual pixel access method
๐ Image Operators ๐
-auto-orientโ automatically orient image-channelmask โ set the image channel mask-grayscalemethod โ convert image to grayscale-negateโ replace each pixel with its complementary color
๐ Miscellaneous Options ๐
-debugevents โ display copious debugging information-helpโ print program options-listtype โ print a list of supported option arguments-logformat โ 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 ๐
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. ๐ธ๐
๐ฆ
๐ฆ where this page comes from
- alpine 3.24: imagemagick-doc 7.1.2.35-r0 ยท ImageMagick
- arch rolling: imagemagick 7.1.2.35-1 ยท ImageMagick
- epel 10: ImageMagick 1:7.1.2.34-1.el10_3 ยท ImageMagick
- fedora 43: ImageMagick 1:7.1.2.32-1.fc43
- fedora 43: ImageMagick 1:7.1.2.32-1.fc43
- fedora 43: ImageMagick 1:7.1.2.34-1.fc43 ยท ImageMagick
- fedora 43: ImageMagick 1:7.1.2.34-1.fc43 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.13-2.fc44 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.13-2.fc44 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.32-1.fc44
- fedora 44: ImageMagick 1:7.1.2.32-1.fc44
- fedora 44: ImageMagick 1:7.1.2.34-1.fc44 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.34-1.fc44 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.35-1.fc44 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.35-1.fc44 ยท ImageMagick
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms