compare-im6.q16hdri(1)
π compare-im6.q16hdri(1) β bestie edition π
okay so this is compare-im6.q16hdri, from the General Commands Manual section, and honestly? she's giving main character energy. Let's get into it. β¨
πΈ NAME πΈ
compare β mathematically and visually annotate the difference between an image and its reconstruction. no cap. π¦
π SYNOPSIS π
compare-im6.q16hdri input-file input-file [options] output-file
two input files, bestie. two. not one. the whole point is the comparison. π
β¨ OVERVIEW β¨
compare-im6.q16hdri is literally a member of the ImageMagick-im6.q16hdri(1) suite of tools. iykyk. What does she do? She mathematically and visually annotates the difference between an image and its reconstruction. That's the whole vibe. π₯
Want more lore about the compare command? Point your browser at:
file:///usr/share/doc/imagemagick-6-common/html/www/compare.html
(on a debian system you may install the imagemagick-6 package π«Ά) or hit up
https://imagemagick.org/script/compare.php
both links, because she's thorough. π
π DESCRIPTION π
π Image Settings
-alphaoption β on, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape. pick your alpha vibe.-authenticatevalue β decrypt image with this password π-backgroundcolor β background color-channeltype β apply option to select image channels-colorspacetype β alternate image colorspace π-composeoperator β set image composite operator-compresstype β type of pixel compression when writing the image-decipherfilename β convert cipher pixels to plain pixels-defineformat:option β define one or more image format options-densitygeometry β horizontal and vertical density of the image-depthvalue β image depth-dissimilarity-thresholdvalue β maximum distortion for (sub)image match-encipherfilename β convert plain pixels to cipher pixels-extractgeometry β extract area from image-format"string"β output formatted image characteristics-fuzzdistance β colors within this distance are considered equal-gravitytype β horizontal and vertical text placement-identifyβ identify the format and characteristics of the image π-interlacetype β type of image interlacing scheme-highlight-colorcolor β emphasize pixel differences with this color β-limittype value β pixel cache resource limit-lowlight-colorcolor β de-emphasize pixel differences with this color-maskfilename β associate a mask with the image-metrictype β measure differences between images with this metric π-monitorβ monitor progress π-passphrasefilename β get the passphrase from this file-profilefilename β add, delete, or apply an image profile-qualityvalue β JPEG/MIFF/PNG compression level-quietβ suppress all warning messages π€«-quantizecolorspace β reduce colors in this colorspace-regard-warningsβ pay attention to warning messages-repagegeometry β size and location of an image canvas-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-similarity-thresholdvalue β minimum distortion for (sub)image match-sizegeometry β width and height of image-subimage-searchβ search for subimage π-synchronizeβ synchronize image to storage device-taintβ declare the image as modified-transparent-colorcolor β transparent color-typetype β image type-verboseβ print detailed information about the image π£οΈ-virtual-pixelmethod β virtual pixel access method
π¦ Image Operators
-brightness-contrastgeometry β improve brightness / contrast of the image-distortmethod args β distort images according to given method and args-levelvalue β adjust the level of image contrast-resizegeometry β resize the image-rotatedegrees β apply Paeth rotation to the image-separateβ separate an image channel into a grayscale image-trimβ trim image edges βοΈ-writefilename β write images to this file
π§ Image Sequence Operators
-cropgeometry β cut out a rectangular region of the image
π Image Stack Operators
-deleteindexes β delete the image from the image sequence
π Miscellaneous Options
-debugevents β display copious debugging information-helpβ print program options-logformat β format of debugging information-listtype β print a list of supported option arguments-versionβ print version information
okay so by default, the image format of file is determined by its magic number πͺ. Wanna 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 specify file as - for standard input or output. slay. π«Ά
Two images are considered similar if their difference according to the specified metric and fuzz value is 0 β with the exception of the normalized cross correlation metric (NCC), where two images are considered similar when their normalized cross correlation is 1. The default metric is NCC. not me memorizing that. π
The compare program returns 2 on error, 0 if the images are similar, or a value between 0 and 1 if they are not similar. exit codes said what they said. π
heads up bestie: remember the return values β2= error,0= similar,0β1= not similar. the way that matters for scriptingβ¦ periodt.
π SEE ALSO π
π COPYRIGHT π
Copyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see
file:///usr/share/doc/imagemagick-6-common/html/www/license.html
(on debian system you may install the imagemagick-6 package) or
https://imagemagick.org/script/license.php
legal girlies, this one's for you. π
and that's the whole page, bestie!! π this cutie came to you from ImageMagick, dated Date: 2009/01/10 01:00:00, living her best life as compare-im6.q16hdri(1). go compare some images. you got this. π
β¨
π¦ where this page comes from
- ubuntu noble: imagemagick-6.q16hdri 8:6.9.12.98+dfsg1-5.2build2 Β· ImageMagick
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms