man > compare-im6(1)

📛 NAME

📊 compare - mathematically and visually annotate the difference between an image and its reconstruction.

🚀 Quick Reference

Use CaseCommandDescription
🔍 Compare two imagescompare image1.png image2.png diff.pngGenerate a visual difference image.
📊 Show metric valuecompare -metric AE input1.png input2.png null:Output the absolute error count.
🔎 Find subimagecompare -subimage-search large.png small.png result.pngSearch for a smaller image within a larger one.
đŸŽšī¸ Set fuzz factorcompare -fuzz 10% input1.png input2.png diff.pngTreat colors within 10% as equal.

📋 SYNOPSIS

compare-im6.q16 input-file input-file [options] output-file

🔍 OVERVIEW

📷 The compare-im6.q16 program is a member of the ImageMagick-ims6.q16(1) suite of tools. Use it to mathematically and visually annotate the difference between an image and its reconstruction.

🌐 For more information about the compare command, point your browser to file:///usr/share/doc/imagemagick-6-common/html/www/compare.html (on debian system you may install the imagemagick-6 package) or http://imagemagick.org/script/compare.php.

📝 DESCRIPTION

đŸŽ›ī¸ Image Settings

đŸ› ī¸ Image Operators

đŸŽžī¸ Image Sequence Operators

📚 Image Stack Operators

🧩 Miscellaneous Options

📂 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). Specify 'file' as '-' for standard input or output.

📏 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.

📊 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

📚 SEE ALSO

📖 ImageMagick-im6.q16(1)

ÂŠī¸ COPYRIGHT

Copyright (C) 1999-2020 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 http://imagemagick.org/script/license.php.

compare-im6(1)
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS 🔍 OVERVIEW 📝 DESCRIPTION
đŸŽ›ī¸ Image Settings đŸ› ī¸ Image Operators đŸŽžī¸ Image Sequence Operators 📚 Image Stack Operators 🧩 Miscellaneous Options
đŸšĒ Exit Codes 📚 SEE ALSO ÂŠī¸ COPYRIGHT

Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 20:56 @2600:1f28:365:80b0:b91e:58eb:6587:15c8
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^