compare-im6.q16hdri(1)

πŸ“¦
version 6.9.12.98 Β· 2 versions
, in ubuntu noble

πŸ’– 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

  • -alpha option β€” on, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape. pick your alpha vibe.
  • -authenticate value β€” decrypt image with this password πŸ”
  • -background color β€” background color
  • -channel type β€” apply option to select image channels
  • -colorspace type β€” alternate image colorspace 🌈
  • -compose operator β€” set image composite operator
  • -compress type β€” type of pixel compression when writing the image
  • -decipher filename β€” convert cipher pixels to plain pixels
  • -define format:option β€” define one or more image format options
  • -density geometry β€” horizontal and vertical density of the image
  • -depth value β€” image depth
  • -dissimilarity-threshold value β€” maximum distortion for (sub)image match
  • -encipher filename β€” convert plain pixels to cipher pixels
  • -extract geometry β€” extract area from image
  • -format "string" β€” output formatted image characteristics
  • -fuzz distance β€” colors within this distance are considered equal
  • -gravity type β€” horizontal and vertical text placement
  • -identify β€” identify the format and characteristics of the image πŸ”
  • -interlace type β€” type of image interlacing scheme
  • -highlight-color color β€” emphasize pixel differences with this color ⭐
  • -limit type value β€” pixel cache resource limit
  • -lowlight-color color β€” de-emphasize pixel differences with this color
  • -mask filename β€” associate a mask with the image
  • -metric type β€” measure differences between images with this metric πŸ“
  • -monitor β€” monitor progress πŸ‘€
  • -passphrase filename β€” get the passphrase from this file
  • -profile filename β€” add, delete, or apply an image profile
  • -quality value β€” JPEG/MIFF/PNG compression level
  • -quiet β€” suppress all warning messages 🀫
  • -quantize colorspace β€” reduce colors in this colorspace
  • -regard-warnings β€” pay attention to warning messages
  • -repage geometry β€” size and location of an image canvas
  • -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
  • -similarity-threshold value β€” minimum distortion for (sub)image match
  • -size geometry β€” width and height of image
  • -subimage-search β€” search for subimage πŸ”Ž
  • -synchronize β€” synchronize image to storage device
  • -taint β€” declare the image as modified
  • -transparent-color color β€” transparent color
  • -type type β€” image type
  • -verbose β€” print detailed information about the image πŸ—£οΈ
  • -virtual-pixel method β€” virtual pixel access method

πŸ¦‹ Image Operators

  • -brightness-contrast geometry β€” improve brightness / contrast of the image
  • -distort method args β€” distort images according to given method and args
  • -level value β€” adjust the level of image contrast
  • -resize geometry β€” resize the image
  • -rotate degrees β€” apply Paeth rotation to the image
  • -separate β€” separate an image channel into a grayscale image
  • -trim β€” trim image edges βœ‚οΈ
  • -write filename β€” write images to this file

🧚 Image Sequence Operators

  • -crop geometry β€” cut out a rectangular region of the image

πŸ‘‘ Image Stack Operators

  • -delete indexes β€” delete the image from the image sequence

πŸ’œ Miscellaneous Options

  • -debug events β€” display copious debugging information
  • -help β€” print program options
  • -log format β€” format of debugging information
  • -list type β€” 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 🌟

ImageMagick-im6.q16hdri(1)


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