blob: b4df0121d8cbd4d17955910f4680503ff65e2720 [file] [log] [blame]
cristy417eeb12013-07-28 18:48:22 +00001<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en" xsi:schemaLocation="http://www.w3.org/1999/xhtml http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
cristyad41c0c2012-10-31 00:49:28 +00003<head>
cristy417eeb12013-07-28 18:48:22 +00004 <meta http-equiv="content-type" content="text/html; charset=UTF-8"></meta>
5 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4"></meta>
cristyffb69ed2010-12-25 00:06:48 +00006 <title>ImageMagick: Command-line Tools: Compare</title>
cristy417eeb12013-07-28 18:48:22 +00007 <meta http-equiv="content-language" content="en-US"></meta>
8 <meta http-equiv="content-type" content="text/html; charset=utf-8"></meta>
9 <meta http-equiv="reply-to" content="magick-users@imagemagick.org"></meta>
10 <meta name="application-name" content="ImageMagick"></meta>
11 <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."></meta>
12 <meta name="application-url" content="http://www.imagemagick.org"></meta>
13 <meta name="generator" content="PHP"></meta>
14 <meta name="keywords" content="command-line, tools:, compare, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"></meta>
15 <meta name="rating" content="GENERAL"></meta>
16 <meta name="robots" content="INDEX, FOLLOW"></meta>
17 <meta name="generator" content="ImageMagick Studio LLC"></meta>
18 <meta name="author" content="ImageMagick Studio LLC"></meta>
19 <meta name="revisit-after" content="2 DAYS"></meta>
20 <meta name="resource-type" content="document"></meta>
21 <meta name="copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"></meta>
22 <meta name="distribution" content="Global"></meta>
23 <link rel="icon" href="../images/wand.png"></link>
24 <link rel="shortcut icon" href="../images/wand.ico" type="images/x-icon"></link>
cristyf1b8a092014-02-20 15:46:11 +000025 <link rel="canonical" href="http://www.imagemagick.org"></link>
cristy417eeb12013-07-28 18:48:22 +000026 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"></link>
cristy8ee7f242013-06-20 16:08:44 +000027
cristyad41c0c2012-10-31 00:49:28 +000028 <!-- Add jQuery library -->
cristy417eeb12013-07-28 18:48:22 +000029 <script type="text/javascript" src="http://localhost/ajax/libs/jquery/1.7/jquery.min.js"></script>
cristyad41c0c2012-10-31 00:49:28 +000030
cristy8ee7f242013-06-20 16:08:44 +000031 <!-- Add mousewheel plugin (this is optional) -->
32 <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 +000033
34 <!-- Add fancyBox -->
cristy417eeb12013-07-28 18:48:22 +000035 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/jquery.fancybox.css?v=2.0.6" type="text/css" media="screen"></link>
cristy8ee7f242013-06-20 16:08:44 +000036 <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 +000037
cristy8ee7f242013-06-20 16:08:44 +000038 <!-- Optionally add helpers - button, thumbnail and/or media -->
cristy417eeb12013-07-28 18:48:22 +000039 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.2" type="text/css" media="screen"></link>
cristy8ee7f242013-06-20 16:08:44 +000040 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.2"></script>
41 <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 +000042
cristy417eeb12013-07-28 18:48:22 +000043 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.css?v=2.0.6" type="text/css" media="screen"></link>
cristy8ee7f242013-06-20 16:08:44 +000044 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=2.0.6"></script>
45
cristyad41c0c2012-10-31 00:49:28 +000046 <script type="text/javascript">
47 $(document).ready(function() {
48 $(".fancybox").fancybox();
49 });
50 </script>
cristy8ee7f242013-06-20 16:08:44 +000051
cristyad41c0c2012-10-31 00:49:28 +000052 <!-- ImageMagick style -->
cristyad41c0c2012-10-31 00:49:28 +000053 <style type="text/css" media="all">
54 @import url("../www/magick.css");
55 </style>
56</head>
57
58<body id="www-imagemagick-org">
cristy8ee7f242013-06-20 16:08:44 +000059
cristy8ee7f242013-06-20 16:08:44 +000060
cristy8ee7f242013-06-20 16:08:44 +000061
cristyad41c0c2012-10-31 00:49:28 +000062<div class="titlebar">
63<div style="margin: 17px auto; float: left;">
64 <script type="text/javascript">
65 <!--
66 google_ad_client = "pub-3129977114552745";
67 google_ad_slot = "5439289906";
68 google_ad_width = 728;
69 google_ad_height = 90;
70 //-->
71 </script>
cristy417eeb12013-07-28 18:48:22 +000072
cristyad41c0c2012-10-31 00:49:28 +000073</div>
cristy149d58c2013-08-07 19:44:54 +000074<a href="../discourse-server">
cristy417eeb12013-07-28 18:48:22 +000075 <img src="../images/logo.jpg" alt="ImageMagick Logo" style="width: 123px; height: 118px; border: 0px; float: right;"></img></a>
cristyf1b8a092014-02-20 15:46:11 +000076<a href="http://www.imagemagick.org/ImageMagick-7.0.0/index.html">
cristy417eeb12013-07-28 18:48:22 +000077 <img src="../images/sprite.jpg" alt="ImageMagick Sprite" style="width: 114px; height: 118px; border: 0px; float: right;"></img></a>
cristyad41c0c2012-10-31 00:49:28 +000078</div>
79
80<div class="westbar">
81
cristy3ed852e2009-09-05 21:47:34 +000082<div class="menu">
cristyf1b8a092014-02-20 15:46:11 +000083 <a title="About ImageMagick" href="http://www.imagemagick.org/ImageMagick-7.0.0/index.html">About ImageMagick</a>
cristy3ed852e2009-09-05 21:47:34 +000084</div>
cristy3ed852e2009-09-05 21:47:34 +000085<div class="menu">
cristy751980d2012-06-03 23:18:35 +000086 <a title="Binary Releases" href="binary-releases.html">Binary Releases</a>
cristybb503372010-05-27 20:51:26 +000087</div>
88<div class="sub">
cristy751980d2012-06-03 23:18:35 +000089 <a title="Binary Release: Unix" href="binary-releases.html#unix">Unix</a>
cristybb503372010-05-27 20:51:26 +000090</div>
91<div class="sub">
cristy751980d2012-06-03 23:18:35 +000092 <a title="Binary Release: MacOS X" href="binary-releases.html#macosx">Mac OS X</a>
cristybb503372010-05-27 20:51:26 +000093</div>
94<div class="sub">
cristy751980d2012-06-03 23:18:35 +000095 <a title="Binary Release: iOS" href="binary-releases.html#iOS">iOS</a>
cristyda16f162011-02-19 23:52:17 +000096</div>
97<div class="sub">
cristy751980d2012-06-03 23:18:35 +000098 <a title="Binary Release: Windows" href="binary-releases.html#windows">Windows</a>
cristybb503372010-05-27 20:51:26 +000099</div>
cristyad41c0c2012-10-31 00:49:28 +0000100<div class="sep"></div>
cristybb503372010-05-27 20:51:26 +0000101<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000102 <a title="Command-line Tools" href="command-line-tools.html">Command-line Tools</a>
cristy3ed852e2009-09-05 21:47:34 +0000103</div>
104<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000105 <a title="Command-line Tools: Processing" href="command-line-processing.html">Processing</a>
cristy3ed852e2009-09-05 21:47:34 +0000106</div>
107<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000108 <a title="Command-line Tools: Options" href="command-line-options.html">Options</a>
cristy3ed852e2009-09-05 21:47:34 +0000109</div>
110<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000111 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
cristy3ed852e2009-09-05 21:47:34 +0000112</div>
113<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000114 <a title="Program Interfaces" href="api.html">Program Interfaces</a>
cristy3ed852e2009-09-05 21:47:34 +0000115</div>
116<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000117 <a title="Program Interface: MagickWand" href="magick-wand.html">MagickWand</a>
cristy3ed852e2009-09-05 21:47:34 +0000118</div>
119<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000120 <a title="Program Interface: MagickCore" href="magick-core.html">MagickCore</a>
cristy3ed852e2009-09-05 21:47:34 +0000121</div>
122<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000123 <a title="Program Interface: PerlMagick" href="perl-magick.html">PerlMagick</a>
cristy3ed852e2009-09-05 21:47:34 +0000124</div>
125<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000126 <a title="Program Interface: Magick++" href="magick++.html">Magick++</a>
cristy3ed852e2009-09-05 21:47:34 +0000127</div>
cristyad41c0c2012-10-31 00:49:28 +0000128<div class="sep"></div>
cristy417eeb12013-07-28 18:48:22 +0000129<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000130 <a title="Install from Source" href="install-source.html">Install from Source</a>
cristy3ed852e2009-09-05 21:47:34 +0000131</div>
132<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000133 <a title="Install from Source: Unix" href="install-source.html#unix">Unix</a>
cristy3ed852e2009-09-05 21:47:34 +0000134</div>
135<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000136 <a title="Install from Source: Windows" href="install-source.html#windows">Windows</a>
cristy3ed852e2009-09-05 21:47:34 +0000137 </div>
138<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000139 <a title="Resources" href="resources.html">Resources</a>
cristy3ed852e2009-09-05 21:47:34 +0000140</div>
cristybb503372010-05-27 20:51:26 +0000141<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000142 <a title="Architecture" href="architecture.html">Architecture</a>
cristybb503372010-05-27 20:51:26 +0000143</div>
cristy3ed852e2009-09-05 21:47:34 +0000144<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000145 <a title="Download" href="download.html">Download</a>
cristy3ed852e2009-09-05 21:47:34 +0000146</div>
cristyad41c0c2012-10-31 00:49:28 +0000147<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000148<div class="menu">
cristy8ee7f242013-06-20 16:08:44 +0000149 <a title="Search" href="search.html">Search</a>
cristy3ed852e2009-09-05 21:47:34 +0000150</div>
cristyad41c0c2012-10-31 00:49:28 +0000151<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000152<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000153 <a title="Site Map" href="sitemap.html">Site Map</a>
cristy3ed852e2009-09-05 21:47:34 +0000154</div>
cristy417eeb12013-07-28 18:48:22 +0000155<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000156 <a title="Site Map: Links" href="links.html">Links</a>
cristy3ed852e2009-09-05 21:47:34 +0000157</div>
cristyad41c0c2012-10-31 00:49:28 +0000158<div class="sep"></div>
cristyad41c0c2012-10-31 00:49:28 +0000159</div>
160
161<div class="eastbar">
cristy417eeb12013-07-28 18:48:22 +0000162
cristyf1b8a092014-02-20 15:46:11 +0000163 <div> <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://www.imagemagick.org/"></a></div>
cristy8ee7f242013-06-20 16:08:44 +0000164 <noscript>
165 <a href="http://flattr.com/thing/947300/Convert-Edit-And-Compose-Images" target="_blank">
cristy417eeb12013-07-28 18:48:22 +0000166 <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" width="93" height="20" border="0"></img></a>
cristy8ee7f242013-06-20 16:08:44 +0000167 </noscript>
cristy417eeb12013-07-28 18:48:22 +0000168
169
cristyad41c0c2012-10-31 00:49:28 +0000170</div>
171
172<div class="main">
173
cristydcca3fa2010-12-29 21:50:07 +0000174<h1>ImageMagick Compare Command-line Tool</h1>
cristy417eeb12013-07-28 18:48:22 +0000175<p class="navigation-index">[<a href="compare.html#usage">Example Usage</a><a href="compare.html#options">Option Summary</a>]</p>
cristy3ed852e2009-09-05 21:47:34 +0000176
cristy751980d2012-06-03 23:18:35 +0000177<div class="doc-section">
cristy8ee7f242013-06-20 16:08:44 +0000178<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 +0000179</div>
180
cristy751980d2012-06-03 23:18:35 +0000181<h2><a id="usage"></a>Example Usage</h2>
182<div class="doc-section">
183
cristy8ee7f242013-06-20 16:08:44 +0000184<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 +0000185
cristyf1b8a092014-02-20 15:46:11 +0000186<p class="crt"><span class="crtprompt"> $magick&gt; </span><span class="crtin">convert rose.jpg -sharpen 0x1 reconstruct.jpg</span><span class="crtout"></span><span class="crtprompt"> $magick&gt; </span><span class="crtin">compare rose.jpg reconstruct.jpg difference.png</span><span class="crtout"></span><span class="crtprompt"> $magick&gt; </span><span class="crtin">compare -compose src rose.jpg reconstruct.jpg difference.png</span></p>
cristy3ed852e2009-09-05 21:47:34 +0000187<div class="image">
188<p>
cristy417eeb12013-07-28 18:48:22 +0000189 <a href="../images/rose.jpg"><img src="../images/rose.jpg" width="70" height="46" alt="rose"></img></a>
190 <a href="../images/reconstruct.jpg"><img src="../images/reconstruct.jpg" width="70" height="46" alt="rose"></img></a>
191 <img style="margin:13px 0;" src="../images/right.gif" width="20" height="20" alt="==&gt;"></img>
192 <a href="../images/difference.png"><img src="../images/difference.png" width="70" height="46" alt="rose"></img></a>
cristy3ed852e2009-09-05 21:47:34 +0000193</p>
194</div>
195
196<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>
197
198<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>
199
cristyf1b8a092014-02-20 15:46:11 +0000200<p class="crt"><span class="crtprompt"> $magick&gt; </span><span class="crtin">compare -verbose -metric mae rose.jpg reconstruct.jpg difference.png</span><span class="crtout">Image: rose.jpg <br></br>
cristy417eeb12013-07-28 18:48:22 +0000201 Channel distortion: MAE <br></br>
202 red: 2282.91 (0.034835) <br></br>
203 green: 1853.99 (0.0282901) <br></br>
204 blue: 2008.67 (0.0306503) <br></br>
205 all: 1536.39 (0.0234439) <br></br></span></p><p>Or, if you just want the red channel distortion, use this command:</p>
cristy3ed852e2009-09-05 21:47:34 +0000206
cristyf1b8a092014-02-20 15:46:11 +0000207<p class="crt"><span class="crtprompt"> $magick&gt; </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 +0000208<p>Or, if you just want the overall image distortion, use this command:</p>
209
cristyf1b8a092014-02-20 15:46:11 +0000210<p class="crt"><span class="crtprompt"> $magick&gt; </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 +0000211<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>
212
cristyf1b8a092014-02-20 15:46:11 +0000213<p class="crt"><span class="crtprompt"> $magick&gt; </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 +0000214<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>
cristyf1b8a092014-02-20 15:46:11 +0000215
216<p>The compare program returns 2 on error otherwise 0 if the images are similar or 1 if they are dissimilar.</p>
cristy3ed852e2009-09-05 21:47:34 +0000217</div>
218
cristy751980d2012-06-03 23:18:35 +0000219<h2><a id="options"></a>Option Summary</h2>
220<div class="doc-section">
221
cristy8ee7f242013-06-20 16:08:44 +0000222<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 +0000223
224<table class="doc">
225 <tbody>
226 <tr>
227 <th align="left">Option</th>
228 <th align="left">Description</th>
229 </tr>
230
231 <tr>
cristy751980d2012-06-03 23:18:35 +0000232 <td valign="top"><a href="command-line-options.html#alpha">-alpha</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000233 <td valign="top">on, activate, off, deactivate, set, opaque, copy",
234transparent, extract, background, or shape the alpha channel</td>
235 </tr>
236
237 <tr>
cristy751980d2012-06-03 23:18:35 +0000238 <td valign="top"><a href="command-line-options.html#authenticate">-authenticate <em class="option">value</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000239 <td valign="top">decrypt image with this password</td>
240 </tr>
241
242 <tr>
cristy751980d2012-06-03 23:18:35 +0000243 <td valign="top"><a href="command-line-options.html#channel">-channel <em class="option">type</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000244 <td valign="top">apply option to select image channels</td>
245 </tr>
246
247 <tr>
cristy751980d2012-06-03 23:18:35 +0000248 <td valign="top"><a href="command-line-options.html#colorspace">-colorspace <em class="option">type</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000249 <td valign="top">set image colorspace</td>
250 </tr>
251
252 <tr>
cristy751980d2012-06-03 23:18:35 +0000253 <td valign="top"><a href="command-line-options.html#compose">-compose <em class="option">operator</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000254 <td valign="top">set image composite operator</td>
255 </tr>
256
257 <tr>
cristy751980d2012-06-03 23:18:35 +0000258 <td valign="top"><a href="command-line-options.html#decipher">-decipher <em class="option">filename</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000259 <td valign="top">convert cipher pixels to plain</td>
260 </tr>
261
262 <tr>
cristy751980d2012-06-03 23:18:35 +0000263 <td valign="top"><a href="command-line-options.html#debug">-debug <em class="option">events</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000264 <td valign="top">display copious debugging information</td>
265 </tr>
266
267 <tr>
cristy751980d2012-06-03 23:18:35 +0000268 <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 +0000269 <td valign="top">define one or more image format options</td>
270 </tr>
271
272 <tr>
cristy751980d2012-06-03 23:18:35 +0000273 <td valign="top"><a href="command-line-options.html#density">-density <em class="option">geometry</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000274 <td valign="top">horizontal and vertical density of the image</td>
275 </tr>
276
277 <tr>
cristy751980d2012-06-03 23:18:35 +0000278 <td valign="top"><a href="command-line-options.html#depth">-depth <em class="option">value</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000279 <td valign="top">image depth</td>
280 </tr>
281
282 <tr>
cristy8ee7f242013-06-20 16:08:44 +0000283 <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 +0000284 <td valign="top">maximum distortion for (sub)image match (default 0.2)</td>
cristy3ed852e2009-09-05 21:47:34 +0000285 </tr>
286
287 <tr>
cristy751980d2012-06-03 23:18:35 +0000288 <td valign="top"><a href="command-line-options.html#encipher">-encipher <em class="option">filename</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000289 <td valign="top">convert plain pixels to cipher pixels</td>
290 </tr>
291
292 <tr>
cristy751980d2012-06-03 23:18:35 +0000293 <td valign="top"><a href="command-line-options.html#extract">-extract <em class="option">geometry</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000294 <td valign="top">extract area from image</td>
295 </tr>
296
297 <tr>
cristy751980d2012-06-03 23:18:35 +0000298 <td valign="top"><a href="command-line-options.html#fuzz">-fuzz <em class="option">distance</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000299 <td valign="top">colors within this distance are considered equal</td>
300 </tr>
301
302 <tr>
cristy751980d2012-06-03 23:18:35 +0000303 <td valign="top"><a href="command-line-options.html#help">-help</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000304 <td valign="top">print program options</td>
305 </tr>
306
307 <tr>
cristy751980d2012-06-03 23:18:35 +0000308 <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 +0000309 <td valign="top">emphasize pixel differences with this color</td>
310 </tr>
311
312 <tr>
cristy751980d2012-06-03 23:18:35 +0000313 <td valign="top"><a href="command-line-options.html#identify">-identify</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000314 <td valign="top">identify the format and characteristics of the image</td>
315 </tr>
316
317 <tr>
cristy751980d2012-06-03 23:18:35 +0000318 <td valign="top"><a href="command-line-options.html#interlace">-interlace <em class="option">type</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000319 <td valign="top">type of image interlacing scheme</td>
320 </tr>
321
322 <tr>
cristy751980d2012-06-03 23:18:35 +0000323 <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 +0000324 <td valign="top">pixel cache resource limit</td>
325 </tr>
326
327 <tr>
cristy751980d2012-06-03 23:18:35 +0000328 <td valign="top"><a href="command-line-options.html#log">-log <em class="option">format</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000329 <td valign="top">format of debugging information</td>
330 </tr>
331
332 <tr>
cristy751980d2012-06-03 23:18:35 +0000333 <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 +0000334 <td valign="top">de-emphasize pixel differences with this color</td>
335 </tr>
336
337 <tr>
cristy751980d2012-06-03 23:18:35 +0000338 <td valign="top"><a href="command-line-options.html#metric">-metric <em class="option">type</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000339 <td valign="top">measure differences between images with this metric</td>
340 </tr>
341
342 <tr>
cristy751980d2012-06-03 23:18:35 +0000343 <td valign="top"><a href="command-line-options.html#profile">-profile <em class="option">filename</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000344 <td valign="top">add, delete, or apply an image profile</td>
345 </tr>
346
347 <tr>
cristy751980d2012-06-03 23:18:35 +0000348 <td valign="top"><a href="command-line-options.html#quality">-quality <em class="option">value</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000349 <td valign="top">JPEG/MIFF/PNG compression level</td>
350 </tr>
351
352 <tr>
cristy751980d2012-06-03 23:18:35 +0000353 <td valign="top"><a href="command-line-options.html#quantize">-quantize <em class="option">colorspace</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000354 <td valign="top">reduce image colors in this colorspace</td>
355 </tr>
356
357 <tr>
cristy751980d2012-06-03 23:18:35 +0000358 <td valign="top"><a href="command-line-options.html#quiet">-quiet</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000359 <td valign="top">suppress all warning messages</td>
360 </tr>
361
362 <tr>
cristy751980d2012-06-03 23:18:35 +0000363 <td valign="top"><a href="command-line-options.html#regard-warnings">-regard-warnings</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000364 <td valign="top">pay attention to warning messages.</td>
365 </tr>
366
367 <tr>
cristy751980d2012-06-03 23:18:35 +0000368 <td valign="top"><a href="command-line-options.html#respect-parentheses">-respect-parentheses</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000369 <td valign="top">settings remain in effect until parenthesis boundary.</td>
370 </tr>
371
372 <tr>
cristy751980d2012-06-03 23:18:35 +0000373 <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 +0000374 <td valign="top">horizontal and vertical sampling factor</td>
375 </tr>
376
377 <tr>
cristy751980d2012-06-03 23:18:35 +0000378 <td valign="top"><a href="command-line-options.html#seed">-seed <em class="option">value</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000379 <td valign="top">seed a new sequence of pseudo-random numbers</td>
380 </tr>
381
382 <tr>
cristy751980d2012-06-03 23:18:35 +0000383 <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 +0000384 <td valign="top">set an image attribute</td>
385 </tr>
386
387 <tr>
cristy8ee7f242013-06-20 16:08:44 +0000388 <td valign="top"><a href="command-line-options.html#similarity-threshold">-similarity-threshold <em class="option">value</em></a></td>
389 <td valign="top">minimum distortion for (sub)image match (default 0.0)</td>
390 </tr>
391
392 <tr>
cristy751980d2012-06-03 23:18:35 +0000393 <td valign="top"><a href="command-line-options.html#size">-size <em class="option">geometry</em></a></td>
cristy3ed852e2009-09-05 21:47:34 +0000394 <td valign="top">width and height of image</td>
395 </tr>
396
397 <tr>
cristy751980d2012-06-03 23:18:35 +0000398 <td valign="top"><a href="command-line-options.html#subimage-search">-subimage-search</a></td>
cristyae6203d2010-08-09 01:12:14 +0000399 <td valign="top">search for subimage</td>
400 </tr>
401
402 <tr>
cristy751980d2012-06-03 23:18:35 +0000403 <td valign="top"><a href="command-line-options.html#synchronize">-synchronize</a></td>
cristy5063d812010-10-19 16:28:10 +0000404 <td valign="top">synchronize image to storage device</td>
405 </tr>
406
407 <tr>
cristy751980d2012-06-03 23:18:35 +0000408 <td valign="top"><a href="command-line-options.html#taint">-taint</a></td>
cristy5063d812010-10-19 16:28:10 +0000409 <td valign="top">mark the image as modified</td>
410 </tr>
411
412 <tr>
cristy751980d2012-06-03 23:18:35 +0000413 <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 +0000414 <td valign="top">transparent color</td>
415 </tr>
416
417 <tr>
cristy751980d2012-06-03 23:18:35 +0000418 <td valign="top"><a href="command-line-options.html#verbose">-verbose</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000419 <td valign="top">print detailed information about the image</td>
420 </tr>
421
422 <tr>
cristy751980d2012-06-03 23:18:35 +0000423 <td valign="top"><a href="command-line-options.html#version">-version</a></td>
cristy3ed852e2009-09-05 21:47:34 +0000424 <td valign="top">print version information</td>
425 </tr>
426
427 <tr>
cristy751980d2012-06-03 23:18:35 +0000428 <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 +0000429 <td valign="top">access method for pixels outside the boundaries of the image</td>
430 </tr>
431
432 </tbody>
433</table>
cristy751980d2012-06-03 23:18:35 +0000434</div>
cristyad41c0c2012-10-31 00:49:28 +0000435
436</div>
437
438<div id="linkbar">
cristyac1b4322013-07-28 13:58:06 +0000439 <span id="linkbar-west"> </span>
cristy8ee7f242013-06-20 16:08:44 +0000440
cristyad41c0c2012-10-31 00:49:28 +0000441 <span id="linkbar-center">
cristy149d58c2013-08-07 19:44:54 +0000442 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a>
443 <a href="../discourse-server">Discourse Server</a>
cristy417eeb12013-07-28 18:48:22 +0000444 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
cristy8ee7f242013-06-20 16:08:44 +0000445 <a href="http://jqmagick.imagemagick.org/">JqMagick</a>
cristyad41c0c2012-10-31 00:49:28 +0000446 </span>
cristyac1b4322013-07-28 13:58:06 +0000447 <span id="linkbar-east"> </span>
cristy149d58c2013-08-07 19:44:54 +0000448</div>
449<div class="footer">
cristyf1b8a092014-02-20 15:46:11 +0000450 <span id="footer-west">© 1999-2013 ImageMagick Studio LLC</span>
cristy149d58c2013-08-07 19:44:54 +0000451 <span id="footer-east"> <a href="contact.html">Contact the Wizards</a></span>
452</div>
453<div style="clear: both; margin: 0; width: 100%; "></div>
cristyad41c0c2012-10-31 00:49:28 +0000454</body>
455</html>