blob: cb0d1d00cac8a754ae015d05eb3de86c5ad01658 [file] [log] [blame]
cristyad41c0c2012-10-31 00:49:28 +00001
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4<html version="-//W3C//DTD XHTML 1.1//EN"
5 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 xsi:schemaLocation="http://www.w3.org/1999/xhtml
8 http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
9<head>
10 <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
cristy8ee7f242013-06-20 16:08:44 +000011 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4"/>
cristyffb69ed2010-12-25 00:06:48 +000012 <title>ImageMagick: Command-line Tools: Compare</title>
cristy751980d2012-06-03 23:18:35 +000013 <meta http-equiv="content-language" content="en-US"/>
14 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
15 <meta http-equiv="reply-to" content="magick-users@imagemagick.org"/>
16 <meta name="application-name" content="ImageMagick"/>
cristy8ee7f242013-06-20 16:08:44 +000017 <meta name="description" content="Use ImageMagick to convert, edit, or compose bitmap images in a variety of formats. In addition, resize, rotate, shear, distort or transform images automagically."/>
cristy751980d2012-06-03 23:18:35 +000018 <meta name="application-url" content="http://www.imagemagick.org"/>
19 <meta name="generator" content="PHP"/>
20 <meta name="keywords" content="command-line, tools:, compare, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"/>
21 <meta name="rating" content="GENERAL"/>
22 <meta name="robots" content="INDEX, FOLLOW"/>
23 <meta name="generator" content="ImageMagick Studio LLC"/>
24 <meta name="author" content="ImageMagick Studio LLC"/>
25 <meta name="revisit-after" content="2 DAYS"/>
26 <meta name="resource-type" content="document"/>
cristy8ee7f242013-06-20 16:08:44 +000027 <meta name="copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"/>
cristy751980d2012-06-03 23:18:35 +000028 <meta name="distribution" content="Global"/>
cristydcca3fa2010-12-29 21:50:07 +000029 <link rel="icon" href="../images/wand.png"/>
cristy3c98a4f2010-08-13 20:09:41 +000030 <link rel="shortcut icon" href="../images/wand.ico" type="images/x-icon"/>
cristyad41c0c2012-10-31 00:49:28 +000031 <link rel="canonical" href="http://www.imagemagick.org" />
32 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
cristy8ee7f242013-06-20 16:08:44 +000033
cristyad41c0c2012-10-31 00:49:28 +000034 <!-- Add jQuery library -->
cristy8ee7f242013-06-20 16:08:44 +000035 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
cristyad41c0c2012-10-31 00:49:28 +000036
cristy8ee7f242013-06-20 16:08:44 +000037 <!-- Add mousewheel plugin (this is optional) -->
38 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>
cristyad41c0c2012-10-31 00:49:28 +000039
40 <!-- Add fancyBox -->
cristy8ee7f242013-06-20 16:08:44 +000041 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/jquery.fancybox.css?v=2.0.6" type="text/css" media="screen" />
42 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/jquery.fancybox.pack.js?v=2.0.6"></script>
cristyad41c0c2012-10-31 00:49:28 +000043
cristy8ee7f242013-06-20 16:08:44 +000044 <!-- Optionally add helpers - button, thumbnail and/or media -->
45 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.2" type="text/css" media="screen" />
46 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.2"></script>
47 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.0"></script>
cristyad41c0c2012-10-31 00:49:28 +000048
cristy8ee7f242013-06-20 16:08:44 +000049 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.css?v=2.0.6" type="text/css" media="screen" />
50 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=2.0.6"></script>
51
cristyad41c0c2012-10-31 00:49:28 +000052 <script type="text/javascript">
53 $(document).ready(function() {
54 $(".fancybox").fancybox();
55 });
56 </script>
cristy8ee7f242013-06-20 16:08:44 +000057
cristyad41c0c2012-10-31 00:49:28 +000058 <!-- ImageMagick style -->
cristyad41c0c2012-10-31 00:49:28 +000059 <style type="text/css" media="all">
60 @import url("../www/magick.css");
61 </style>
62</head>
63
64<body id="www-imagemagick-org">
cristy8ee7f242013-06-20 16:08:44 +000065
66<script>
67 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
68 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
69 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
70 })(window,document,'offline-script','//127.0.0.1/analytics.js','ga');
71
72 ga('create', 'UA-40133312-1', 'imagemagick.org');
73 ga('send', 'pageview');
74</script>
75
cristyad41c0c2012-10-31 00:49:28 +000076<div class="titlebar">
77<div style="margin: 17px auto; float: left;">
78 <script type="text/javascript">
79 <!--
80 google_ad_client = "pub-3129977114552745";
81 google_ad_slot = "5439289906";
82 google_ad_width = 728;
83 google_ad_height = 90;
84 //-->
85 </script>
86 <script type="text/javascript"
cristy8ee7f242013-06-20 16:08:44 +000087 src="http://127.0.0.1/pagead/show_ads.js">
cristyad41c0c2012-10-31 00:49:28 +000088 </script>
89</div>
cristy8ee7f242013-06-20 16:08:44 +000090<a href="http://www.imagemagick.org/discourse-server/">
cristyad41c0c2012-10-31 00:49:28 +000091 <img src="../images/logo.jpg"
92 alt="ImageMagick Logo"
93 style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
94<a href="../index.html">
95 <img src="../images/sprite.jpg"
96 alt="ImageMagick Sprite"
97 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
98</div>
99
100<div class="westbar">
101
cristy3ed852e2009-09-05 21:47:34 +0000102<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000103 <a title="About ImageMagick" href="../index.html">About ImageMagick</a>
cristy3ed852e2009-09-05 21:47:34 +0000104</div>
cristy3ed852e2009-09-05 21:47:34 +0000105<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000106 <a title="Binary Releases" href="binary-releases.html">Binary Releases</a>
cristybb503372010-05-27 20:51:26 +0000107</div>
108<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000109 <a title="Binary Release: Unix" href="binary-releases.html#unix">Unix</a>
cristybb503372010-05-27 20:51:26 +0000110</div>
111<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000112 <a title="Binary Release: MacOS X" href="binary-releases.html#macosx">Mac OS X</a>
cristybb503372010-05-27 20:51:26 +0000113</div>
114<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000115 <a title="Binary Release: iOS" href="binary-releases.html#iOS">iOS</a>
cristyda16f162011-02-19 23:52:17 +0000116</div>
117<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000118 <a title="Binary Release: Windows" href="binary-releases.html#windows">Windows</a>
cristybb503372010-05-27 20:51:26 +0000119</div>
cristyad41c0c2012-10-31 00:49:28 +0000120<div class="sep"></div>
cristybb503372010-05-27 20:51:26 +0000121<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000122 <a title="Command-line Tools" href="command-line-tools.html">Command-line Tools</a>
cristy3ed852e2009-09-05 21:47:34 +0000123</div>
124<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000125 <a title="Command-line Tools: Processing" href="command-line-processing.html">Processing</a>
cristy3ed852e2009-09-05 21:47:34 +0000126</div>
127<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000128 <a title="Command-line Tools: Options" href="command-line-options.html">Options</a>
cristy3ed852e2009-09-05 21:47:34 +0000129</div>
130<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000131 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
cristy3ed852e2009-09-05 21:47:34 +0000132</div>
133<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000134 <a title="Program Interfaces" href="api.html">Program Interfaces</a>
cristy3ed852e2009-09-05 21:47:34 +0000135</div>
136<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000137 <a title="Program Interface: MagickWand" href="magick-wand.html">MagickWand</a>
cristy3ed852e2009-09-05 21:47:34 +0000138</div>
139<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000140 <a title="Program Interface: MagickCore" href="magick-core.html">MagickCore</a>
cristy3ed852e2009-09-05 21:47:34 +0000141</div>
142<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000143 <a title="Program Interface: PerlMagick" href="perl-magick.html">PerlMagick</a>
cristy3ed852e2009-09-05 21:47:34 +0000144</div>
145<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000146 <a title="Program Interface: Magick++" href="magick++.html">Magick++</a>
cristy3ed852e2009-09-05 21:47:34 +0000147</div>
cristyad41c0c2012-10-31 00:49:28 +0000148<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000149<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000150 <a title="Install from Source" href="install-source.html">Install from Source</a>
cristy3ed852e2009-09-05 21:47:34 +0000151</div>
152<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000153 <a title="Install from Source: Unix" href="install-source.html#unix">Unix</a>
cristy3ed852e2009-09-05 21:47:34 +0000154</div>
155<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000156 <a title="Install from Source: Windows" href="install-source.html#windows">Windows</a>
cristy3ed852e2009-09-05 21:47:34 +0000157 </div>
158<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000159 <a title="Resources" href="resources.html">Resources</a>
cristy3ed852e2009-09-05 21:47:34 +0000160</div>
cristybb503372010-05-27 20:51:26 +0000161<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000162 <a title="Architecture" href="architecture.html">Architecture</a>
cristybb503372010-05-27 20:51:26 +0000163</div>
cristy3ed852e2009-09-05 21:47:34 +0000164<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000165 <a title="Download" href="download.html">Download</a>
cristy3ed852e2009-09-05 21:47:34 +0000166</div>
cristyad41c0c2012-10-31 00:49:28 +0000167<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000168<div class="menu">
cristy8ee7f242013-06-20 16:08:44 +0000169 <a title="Search" href="search.html">Search</a>
cristy3ed852e2009-09-05 21:47:34 +0000170</div>
cristyad41c0c2012-10-31 00:49:28 +0000171<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000172<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000173 <a title="Site Map" href="sitemap.html">Site Map</a>
cristy3ed852e2009-09-05 21:47:34 +0000174</div>
175<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000176 <a title="Site Map: Links" href="links.html">Links</a>
cristy3ed852e2009-09-05 21:47:34 +0000177</div>
cristyad41c0c2012-10-31 00:49:28 +0000178<div class="sep"></div>
cristyeed6cb62012-01-28 19:38:34 +0000179<div class="menu">
cristy8ee7f242013-06-20 16:08:44 +0000180 <a title="Support ImageMagick Development" href="support.html">Support ImageMagick Development</a>
cristy3ed852e2009-09-05 21:47:34 +0000181</div>
cristyad41c0c2012-10-31 00:49:28 +0000182</div>
183
184<div class="eastbar">
cristyad41c0c2012-10-31 00:49:28 +0000185 <script type="text/javascript">
cristy8ee7f242013-06-20 16:08:44 +0000186 /* <![CDATA[ */
cristyad41c0c2012-10-31 00:49:28 +0000187 (function() {
cristy8ee7f242013-06-20 16:08:44 +0000188 var po = document.createElement('offline-script'), t = document.getElementsByTagName('offline-script')[0];
189 po.type = 'text/javascript';
190 po.async = true;
191 po.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
192 var script = document.getElementsByTagName('offline-script')[0];
193 script.parentNode.insertBefore(po, script);
cristyad41c0c2012-10-31 00:49:28 +0000194 })();
cristy8ee7f242013-06-20 16:08:44 +0000195 /* ]]> */
cristyad41c0c2012-10-31 00:49:28 +0000196 </script>
cristy8ee7f242013-06-20 16:08:44 +0000197 <div> <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://www.imagemagick.org/"></a></div>
198 <noscript>
199 <a href="http://flattr.com/thing/947300/Convert-Edit-And-Compose-Images" target="_blank">
200 <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" width="93" height="20" border="0" /></a>
201 </noscript>
202 <div class="g-plusone" id="gplusone"></div>
203 <script type="text/javascript">
204 /* <![CDATA[ */
205 window.___gcfg = {
206 lang: 'en-US'
207 };
208
209 (function() {
210 var po = document.createElement('offline-script');
211 po.type = 'text/javascript';
212 po.async = true;
213 po.src = 'https://127.0.0.1/js/plusone.js';
214 var script = document.getElementsByTagName('offline-script')[0];
215 script.parentNode.insertBefore(po, script);
216 })();
217 var gplusone = document.getElementById("gplusone");
218 gplusone.setAttribute("data-size","medium");
219 gplusone.setAttribute("data-count","true");
220 /* ]]> */
221 </script>
cristyad41c0c2012-10-31 00:49:28 +0000222</div>
223
224<div class="main">
225
cristydcca3fa2010-12-29 21:50:07 +0000226<h1>ImageMagick Compare Command-line Tool</h1>
cristydba8f1d2013-07-28 13:49:24 +0000227<p class="navigation-index">[<a href="compare.html#usage">Example Usage</a> &#8226; <a href="compare.html#options">Option Summary</a>]</p>
cristy3ed852e2009-09-05 21:47:34 +0000228
cristy751980d2012-06-03 23:18:35 +0000229<div class="doc-section">
cristy8ee7f242013-06-20 16:08:44 +0000230<p>Use the <code>compare</code> program to mathematically and visually annotate the difference between an image and its reconstruction. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>compare</code> command or see below for example usages of the command.</p>
cristy3ed852e2009-09-05 21:47:34 +0000231</div>
232
cristy751980d2012-06-03 23:18:35 +0000233<h2><a id="usage"></a>Example Usage</h2>
234<div class="doc-section">
235
cristy8ee7f242013-06-20 16:08:44 +0000236<p>We list a few examples of the <code>compare</code> command here to illustrate its usefulness and ease of use. To get started, lets compare an image to one thats been sharpened:</p>
cristy3ed852e2009-09-05 21:47:34 +0000237
cristyeed6cb62012-01-28 19:38:34 +0000238<p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>convert rose.jpg -sharpen 0x1 reconstruct.jpg</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>compare rose.jpg reconstruct.jpg difference.png</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>compare -compose src rose.jpg reconstruct.jpg difference.png</span></p>
cristy3ed852e2009-09-05 21:47:34 +0000239<div class="image">
240<p>
241 <a href="../images/rose.jpg"><img src="../images/rose.jpg" width="70" height="46" alt="rose" /></a>
242 <a href="../images/reconstruct.jpg"><img src="../images/reconstruct.jpg" width="70" height="46" alt="rose" /></a>
243 <img style="margin:13px 0;" src="../images/right.gif" width="20" height="20" alt="==>" />
244 <a href="../images/difference.png"><img src="../images/difference.png" width="70" height="46" alt="rose" /></a>
245</p>
246</div>
247
248<p>The red areas of the difference image emphasizes (highlight) pixels that are affected by the image sharpening, whereas white de-emphasizes (lowlight) pixels that are untouched by the sharpening process.</p>
249
250<p>In addition to the visual interpretation of the difference in an image and its reconstruction, we report a mathematical measure of the difference:</p>
251
cristyeed6cb62012-01-28 19:38:34 +0000252<p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>compare -verbose -metric mae rose.jpg reconstruct.jpg difference.png</span><span class='crtout'>Image: rose.jpg <br/>
cristy3ed852e2009-09-05 21:47:34 +0000253 Channel distortion: MAE <br/>
254 red: 2282.91 (0.034835) <br/>
255 green: 1853.99 (0.0282901) <br/>
256 blue: 2008.67 (0.0306503) <br/>
257 all: 1536.39 (0.0234439) <br/></span></p><p>Or, if you just want the red channel distortion, use this command:</p>
258
cristyeed6cb62012-01-28 19:38:34 +0000259<p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>compare -channel red -metric PSNR rose.jpg reconstruct.jpg difference.png</span><span class='crtout'>19.63</span></p>
cristy3ed852e2009-09-05 21:47:34 +0000260<p>Or, if you just want the overall image distortion, use this command:</p>
261
cristyeed6cb62012-01-28 19:38:34 +0000262<p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>compare -metric PSNR rose.jpg reconstruct.jpg difference.png</span><span class='crtout'>28.31</span></p>
cristy3ed852e2009-09-05 21:47:34 +0000263<p>If the reconstructed image is a subimage of the image, the compare program returns the best match offset. In addition, it returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between:</p>
264
cristyeed6cb62012-01-28 19:38:34 +0000265<p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>compare -metric RMSE -subimage-search logo.png wizard.jpg similarity.gif</span><span class='crtout'>85.05 (0.00129778) @ 353,157</span></p>
cristy8ee7f242013-06-20 16:08:44 +0000266<p>You can find additional examples of using <code>compare</code> in <a href="http://www-106.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www-106.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="http://www.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
cristy3ed852e2009-09-05 21:47:34 +0000267</div>
268
cristy751980d2012-06-03 23:18:35 +0000269<h2><a id="options"></a>Option Summary</h2>
270<div class="doc-section">
271
cristy8ee7f242013-06-20 16:08:44 +0000272<p>The <code>compare</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
cristy3ed852e2009-09-05 21:47:34 +0000273
274<table class="doc">
275 <tbody>
276 <tr>
277 <th align="left">Option</th>
278 <th align="left">Description</th>
279 </tr>
280
281 <tr>
cristy751980d2012-06-03 23:18:35 +0000282 <td valign="top"><a href="command-line-options.html#alpha">-alpha</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000283 <td valign="top">on, activate, off, deactivate, set, opaque, copy",
284transparent, extract, background, or shape the alpha channel</td>
285 </tr>
286
287 <tr>
cristy751980d2012-06-03 23:18:35 +0000288 <td valign="top"><a href="command-line-options.html#authenticate">-authenticate <em class="option">value</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000289 <td valign="top">decrypt image with this password</td>
290 </tr>
291
292 <tr>
cristy751980d2012-06-03 23:18:35 +0000293 <td valign="top"><a href="command-line-options.html#channel">-channel <em class="option">type</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000294 <td valign="top">apply option to select image channels</td>
295 </tr>
296
297 <tr>
cristy751980d2012-06-03 23:18:35 +0000298 <td valign="top"><a href="command-line-options.html#colorspace">-colorspace <em class="option">type</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000299 <td valign="top">set image colorspace</td>
300 </tr>
301
302 <tr>
cristy751980d2012-06-03 23:18:35 +0000303 <td valign="top"><a href="command-line-options.html#compose">-compose <em class="option">operator</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000304 <td valign="top">set image composite operator</td>
305 </tr>
306
307 <tr>
cristy751980d2012-06-03 23:18:35 +0000308 <td valign="top"><a href="command-line-options.html#decipher">-decipher <em class="option">filename</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000309 <td valign="top">convert cipher pixels to plain</td>
310 </tr>
311
312 <tr>
cristy751980d2012-06-03 23:18:35 +0000313 <td valign="top"><a href="command-line-options.html#debug">-debug <em class="option">events</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000314 <td valign="top">display copious debugging information</td>
315 </tr>
316
317 <tr>
cristy751980d2012-06-03 23:18:35 +0000318 <td valign="top"><a href="command-line-options.html#define">-define <em class="option">format:option</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000319 <td valign="top">define one or more image format options</td>
320 </tr>
321
322 <tr>
cristy751980d2012-06-03 23:18:35 +0000323 <td valign="top"><a href="command-line-options.html#density">-density <em class="option">geometry</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000324 <td valign="top">horizontal and vertical density of the image</td>
325 </tr>
326
327 <tr>
cristy751980d2012-06-03 23:18:35 +0000328 <td valign="top"><a href="command-line-options.html#depth">-depth <em class="option">value</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000329 <td valign="top">image depth</td>
330 </tr>
331
332 <tr>
cristy8ee7f242013-06-20 16:08:44 +0000333 <td valign="top"><a href="command-line-options.html#dissimilarity-threshold">-dissimilarity-threshold <em class="option">value</em></a></td>
cristy771f7a72010-11-27 21:42:59 +0000334 <td valign="top">maximum distortion for (sub)image match (default 0.2)</td>
cristy3ed852e2009-09-05 21:47:34 +0000335 </tr>
336
337 <tr>
cristy751980d2012-06-03 23:18:35 +0000338 <td valign="top"><a href="command-line-options.html#encipher">-encipher <em class="option">filename</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000339 <td valign="top">convert plain pixels to cipher pixels</td>
340 </tr>
341
342 <tr>
cristy751980d2012-06-03 23:18:35 +0000343 <td valign="top"><a href="command-line-options.html#extract">-extract <em class="option">geometry</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000344 <td valign="top">extract area from image</td>
345 </tr>
346
347 <tr>
cristy751980d2012-06-03 23:18:35 +0000348 <td valign="top"><a href="command-line-options.html#fuzz">-fuzz <em class="option">distance</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000349 <td valign="top">colors within this distance are considered equal</td>
350 </tr>
351
352 <tr>
cristy751980d2012-06-03 23:18:35 +0000353 <td valign="top"><a href="command-line-options.html#help">-help</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000354 <td valign="top">print program options</td>
355 </tr>
356
357 <tr>
cristy751980d2012-06-03 23:18:35 +0000358 <td valign="top"><a href="command-line-options.html#highlight-color">-highlight-color <em class="option">color</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000359 <td valign="top">emphasize pixel differences with this color</td>
360 </tr>
361
362 <tr>
cristy751980d2012-06-03 23:18:35 +0000363 <td valign="top"><a href="command-line-options.html#identify">-identify</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000364 <td valign="top">identify the format and characteristics of the image</td>
365 </tr>
366
367 <tr>
cristy751980d2012-06-03 23:18:35 +0000368 <td valign="top"><a href="command-line-options.html#interlace">-interlace <em class="option">type</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000369 <td valign="top">type of image interlacing scheme</td>
370 </tr>
371
372 <tr>
cristy751980d2012-06-03 23:18:35 +0000373 <td valign="top"><a href="command-line-options.html#limit">-limit <em class="option">type value</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000374 <td valign="top">pixel cache resource limit</td>
375 </tr>
376
377 <tr>
cristy751980d2012-06-03 23:18:35 +0000378 <td valign="top"><a href="command-line-options.html#log">-log <em class="option">format</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000379 <td valign="top">format of debugging information</td>
380 </tr>
381
382 <tr>
cristy751980d2012-06-03 23:18:35 +0000383 <td valign="top"><a href="command-line-options.html#lowlight-color">-lowlight-color <em class="option">color</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000384 <td valign="top">de-emphasize pixel differences with this color</td>
385 </tr>
386
387 <tr>
cristy751980d2012-06-03 23:18:35 +0000388 <td valign="top"><a href="command-line-options.html#metric">-metric <em class="option">type</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000389 <td valign="top">measure differences between images with this metric</td>
390 </tr>
391
392 <tr>
cristy751980d2012-06-03 23:18:35 +0000393 <td valign="top"><a href="command-line-options.html#profile">-profile <em class="option">filename</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000394 <td valign="top">add, delete, or apply an image profile</td>
395 </tr>
396
397 <tr>
cristy751980d2012-06-03 23:18:35 +0000398 <td valign="top"><a href="command-line-options.html#quality">-quality <em class="option">value</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000399 <td valign="top">JPEG/MIFF/PNG compression level</td>
400 </tr>
401
402 <tr>
cristy751980d2012-06-03 23:18:35 +0000403 <td valign="top"><a href="command-line-options.html#quantize">-quantize <em class="option">colorspace</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000404 <td valign="top">reduce image colors in this colorspace</td>
405 </tr>
406
407 <tr>
cristy751980d2012-06-03 23:18:35 +0000408 <td valign="top"><a href="command-line-options.html#quiet">-quiet</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000409 <td valign="top">suppress all warning messages</td>
410 </tr>
411
412 <tr>
cristy751980d2012-06-03 23:18:35 +0000413 <td valign="top"><a href="command-line-options.html#regard-warnings">-regard-warnings</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000414 <td valign="top">pay attention to warning messages.</td>
415 </tr>
416
417 <tr>
cristy751980d2012-06-03 23:18:35 +0000418 <td valign="top"><a href="command-line-options.html#respect-parentheses">-respect-parentheses</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000419 <td valign="top">settings remain in effect until parenthesis boundary.</td>
420 </tr>
421
422 <tr>
cristy751980d2012-06-03 23:18:35 +0000423 <td valign="top"><a href="command-line-options.html#sampling-factor">-sampling-factor <em class="option">geometry</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000424 <td valign="top">horizontal and vertical sampling factor</td>
425 </tr>
426
427 <tr>
cristy751980d2012-06-03 23:18:35 +0000428 <td valign="top"><a href="command-line-options.html#seed">-seed <em class="option">value</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000429 <td valign="top">seed a new sequence of pseudo-random numbers</td>
430 </tr>
431
432 <tr>
cristy751980d2012-06-03 23:18:35 +0000433 <td valign="top"><a href="command-line-options.html#set">-set <em class="option">attribute value</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000434 <td valign="top">set an image attribute</td>
435 </tr>
436
437 <tr>
cristy8ee7f242013-06-20 16:08:44 +0000438 <td valign="top"><a href="command-line-options.html#similarity-threshold">-similarity-threshold <em class="option">value</em></a></td>
439 <td valign="top">minimum distortion for (sub)image match (default 0.0)</td>
440 </tr>
441
442 <tr>
cristy751980d2012-06-03 23:18:35 +0000443 <td valign="top"><a href="command-line-options.html#size">-size <em class="option">geometry</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000444 <td valign="top">width and height of image</td>
445 </tr>
446
447 <tr>
cristy751980d2012-06-03 23:18:35 +0000448 <td valign="top"><a href="command-line-options.html#subimage-search">-subimage-search</a></td>
cristyae6203d2010-08-09 01:12:14 +0000449 <td valign="top">search for subimage</td>
450 </tr>
451
452 <tr>
cristy751980d2012-06-03 23:18:35 +0000453 <td valign="top"><a href="command-line-options.html#synchronize">-synchronize</a></td>
cristy5063d812010-10-19 16:28:10 +0000454 <td valign="top">synchronize image to storage device</td>
455 </tr>
456
457 <tr>
cristy751980d2012-06-03 23:18:35 +0000458 <td valign="top"><a href="command-line-options.html#taint">-taint</a></td>
cristy5063d812010-10-19 16:28:10 +0000459 <td valign="top">mark the image as modified</td>
460 </tr>
461
462 <tr>
cristy751980d2012-06-03 23:18:35 +0000463 <td valign="top"><a href="command-line-options.html#transparent-color">-transparent-color <em class="option">color</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000464 <td valign="top">transparent color</td>
465 </tr>
466
467 <tr>
cristy751980d2012-06-03 23:18:35 +0000468 <td valign="top"><a href="command-line-options.html#verbose">-verbose</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000469 <td valign="top">print detailed information about the image</td>
470 </tr>
471
472 <tr>
cristy751980d2012-06-03 23:18:35 +0000473 <td valign="top"><a href="command-line-options.html#version">-version</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000474 <td valign="top">print version information</td>
475 </tr>
476
477 <tr>
cristy751980d2012-06-03 23:18:35 +0000478 <td valign="top"><a href="command-line-options.html#virtual-pixel">-virtual-pixel <em class="option">method</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000479 <td valign="top">access method for pixels outside the boundaries of the image</td>
480 </tr>
481
482 </tbody>
483</table>
cristy751980d2012-06-03 23:18:35 +0000484</div>
cristyad41c0c2012-10-31 00:49:28 +0000485
486</div>
487
488<div id="linkbar">
cristyac1b4322013-07-28 13:58:06 +0000489 <span id="linkbar-west"> </span>
cristy8ee7f242013-06-20 16:08:44 +0000490
cristyad41c0c2012-10-31 00:49:28 +0000491 <span id="linkbar-center">
cristydba8f1d2013-07-28 13:49:24 +0000492 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> &#8226;
493 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a> &#8226;
cristy8ee7f242013-06-20 16:08:44 +0000494 <a href="http://jqmagick.imagemagick.org/">JqMagick</a>
cristyad41c0c2012-10-31 00:49:28 +0000495 </span>
cristyac1b4322013-07-28 13:58:06 +0000496 <span id="linkbar-east"> </span>
cristyad41c0c2012-10-31 00:49:28 +0000497 </div>
498 <div class="footer">
cristyac1b4322013-07-28 13:58:06 +0000499 <span id="footer-west">© 1999-2013 ImageMagick Studio LLC</span>
cristyad41c0c2012-10-31 00:49:28 +0000500 <span id="footer-east"> <a href="contact.html">Contact the Wizards</a></span>
501 </div>
502 <div style="clear: both; margin: 0; width: 100%; "></div>
cristyad41c0c2012-10-31 00:49:28 +0000503</body>
504</html>