Debian Codegraph @

www/conjure.html

raw symbols ◀ ▶
Source reconstructed at patch state 3 of 4 — not the installed (fully patched) source.
4 Debian patches touch this file
1
2
3
4 <!DOCTYPE html>
5 <html lang="en" data-bs-theme="dark">
6 <head>
7 <script src="assets/color-modes.js" ></script>
8 <meta charset="utf-8" />
9 <meta name="viewport" content="width=device-width, initial-scale=1" />
10 <title>ImageMagick – Command-line Tools: Conjure</title>
11 <meta name="keywords" content="Command-line Tools: Conjure, Image Processing, Digital Image Editing, Image Conversion, Open-Source Software, Image Manipulation, Command-Line Image Tools" />
12 <meta name="description" content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
13 <meta name="application-name" content="ImageMagick" />
14 <meta name="application-url" content="https://imagemagick.org" />
15 <meta name="copyright" content="Copyright (c) 1999 ImageMagick Studio LLC" />
16 <meta itemprop='url' content='../' />
17 <meta itemprop='title' content='ImageMagick' />
18 <meta itemprop='description' content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
19 <meta property='og:url' content='../' />
20 <meta property='og:name' content='ImageMagick' />
21 <meta property='og:image' content='../images/logo.png' />
22 <meta property='og:type' content='website' />
23 <meta property='og:site_name' content='ImageMagick' />
24 <meta property='og:description' content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
25 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
26 <link type="images/png" sizes="64x64" href="../images/wand.png" rel="icon" />
27 <link type="images/icon" sizes="16x16" href="../images/wand.ico" rel="shortcut icon" />
28 <link href="conjure.html" rel="canonical" />
29 <link href="assets/bootstrap.min.css" rel="stylesheet" />
30 </head>
31 <body>
32 <svg xmlns="http://www.w3.org/2000/svg" class="d-none">
33 <symbol id="check2" viewBox="0 0 16 16">
34 <path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/>
35 </symbol>
36 <symbol id="circle-half" viewBox="0 0 16 16">
37 <path d="M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z"/>
38 </symbol>
39 <symbol id="moon-stars-fill" viewBox="0 0 16 16">
40 <path d="M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z"/>
41 <path d="M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z"/>
42 </symbol>
43 <symbol id="sun-fill" viewBox="0 0 16 16">
44 <path d="M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z"/>
45 </symbol>
46 </svg>
47 <div class="dropdown position-fixed bottom-0 end-0 mb-3 me-3 bd-mode-toggle">
48 <button class="btn btn-bd-secondary py-2 dropdown-toggle d-flex align-items-center"
49 id="bd-theme"
50 type="button"
51 aria-expanded="false"
52 data-bs-toggle="dropdown"
53 aria-label="Toggle theme (auto)">
54 <svg class="bi my-1 theme-icon-active" width="1em" height="1em"><use href="#circle-half"></use></svg>
55 <span class="visually-hidden" id="bd-theme-text">Toggle theme</span>
56 </button>
57 <ul class="dropdown-menu dropdown-menu-end shadow" aria-labelledby="bd-theme-text">
58 <li>
59 <button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="light" aria-pressed="false">
60 <svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#sun-fill"></use></svg>
61 Light
62 <svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
63 </button>
64 </li>
65 <li>
66 <button type="button" class="dropdown-item d-flex align-items-center active" data-bs-theme-value="dark" aria-pressed="false">
67 <svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#moon-stars-fill"></use></svg>
68 Dark
69 <svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
70 </button>
71 </li>
72 <li>
73 <button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="auto" aria-pressed="true">
74 <svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#circle-half"></use></svg>
75 Auto
76 <svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
77 </button>
78 </li>
79 </ul>
80 </div>
81 <svg xmlns="http://www.w3.org/2000/svg" class="d-none">
82 <symbol id="arrow-right-circle" viewBox="0 0 16 16">
83 <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/>
84 </symbol>
85 <symbol id="color-mode" viewBox="0 0 118 94">
86 <title>Color Modes</title>
87 <path fill-rule="evenodd" clip-rule="evenodd" d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z"></path>
88 </symbol>
89 </svg>
90 <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
91 <div class="container-fluid">
92 <a class="navbar-brand" href="../index.html"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../images/wand.ico"/></a>
93 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
94 <span class="navbar-toggler-icon"></span>
95 </button>
96
97 <div class="collapse navbar-collapse" id="magick-navbars">
98 <ul class="navbar-nav me-auto mb-2 mb-md-0">
99 <li class="nav-item">
100 <a class="nav-link " href="download.html">Download</a>
101 </li>
102 <li class="nav-item">
103 <a class="nav-link " href="command-line-tools.html">Tools</a>
104 </li>
105 <li class="nav-item">
106 <a class="nav-link " href="command-line-processing.html">CLI</a>
107 </li>
108 <li class="nav-item">
109 <a class="nav-link " href="develop.html">Develop</a>
110 </li>
111 <li class="nav-item">
112 <a class="nav-link" rel="noopener" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
113 </li>
114 <li class="nav-item">
115
116 </li>
117 </ul>
118 <form class="d-flex form-inline" action="../www/search.html">
119 <input class="form-control me-2" type="text" name="q" placeholder="Search" aria-label="Search">
120 <button class="btn btn-outline-success" type="submit" name="sa">Search</button>
121 </form>
122 </div>
123 </div>
124 </nav>
125
126 <div class="col-lg-8 mx-auto p-4 py-md-5 text-body-secondary">
127 <header class="d-flex align-items-center pb-3 mb-5 border-bottom">
128 <a href="../index.html" class="d-flex align-items-center text-decoration-none">
129 <h1 class="mt-5 fs-4">Command-line Tools: Conjure</h1>
130 </a>
131 </header>
132
133 <main class="container">
134 <div>
135 <p class="text-center"><a href="#usage">Example Usage</a> • <a href="#options">Option Summary</a> • <a href="#msl">Magick Scripting Language (MSL)</a> </p>
136
137 <p class="lead">The <samp>conjure</samp> program gives you the ability to perform custom image processing tasks from a script written in the Magick Scripting Language (MSL). MSL is XML-based and consists of action statements with attributes. Actions include reading an image, processing an image, getting attributes from an image, writing an image, and more. An attribute is a key/value pair that modifies the behavior of an action. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>conjure</samp> command or see below for example usages of the command.</p>
138
139 <h2><a class="anchor" id="usage"></a>Example Usage</h2>
140
141 <p>We list a few examples of the <samp>conjure</samp> command here to illustrate its usefulness and ease of use. To get started, here is simple <samp>conjure</samp> command:</p>
142
143 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><samp>magick conjure -dimensions 400x400 msl:incantation.msl
144 </samp></pre>
145
146 <p>The MSL script <a href="https://imagemagick.org/source/incantation.msl">incantation.msl</a> used above is here:</p>
147
148 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
149 &lt;image&gt;
150 &lt;read filename="image.gif" /&gt;
151 &lt;get width="base-width" height="base-height" /&gt;
152 &lt;resize geometry="%[dimensions]" /&gt;
153 &lt;get width="resize-width" height="resize-height" /&gt;
154 &lt;print output="Image sized from %[base-width]x%[base-height] to %[resize-width]x%[resize-height].\n" /&gt;
155 &lt;write filename="image.png" /&gt;
156 &lt;/image&gt;
157 </samp></pre>
158
159 <p>In this example, a family stayed home for their vacation but as far as their friends are concerned they went to a beautiful beach in the Caribbean:</p>
160
161 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>&lt;?xml version="1.0" encoding="UTF-8"?>
162 &lt;group>
163 &lt;image id="family">
164 &lt;read filename="family.gif"/>
165 &lt;resize geometry="300x300"/>
166 &lt;/image>
167 &lt;image id="palm-trees">
168 &lt;read filename="palm-trees.gif"/>
169 &lt;resize geometry="300x100"/>
170 &lt;/image>
171 &lt;image>
172 &lt;read filename="beach.jpg"/>
173 &lt;composite image="family" geometry="+30+40"/>
174 &lt;composite image="palm-trees" geometry="+320+90"/>
175 &lt;/image>
176 &lt;write filename="family-vacation.png"/>
177 &lt;/group>
178 </samp></pre>
179
180 <p>Here we display the width in pixels of text for a particular font and pointsize.</p>
181
182 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
183 &lt;image&gt;
184 &lt;query-font-metrics text="ImageMagick" font="helvetica" pointsize="48" /&gt;
185 &lt;print output="Text width is %[msl:font-metrics.width] pixels.\n" /&gt;
186 &lt;/image&gt;
187 </samp></pre>
188
189 <p>The <samp>query-font-metrics</samp> tag supports these properties:</p>
190
191 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>msl:font-metrics.pixels_per_em.x
192 msl:font-metrics.pixels_per_em.y
193 msl:font-metrics.ascent
194 msl:font-metrics.descent
195 msl:font-metrics.width
196 msl:font-metrics.height
197 msl:font-metrics.max_advance
198 msl:font-metrics.bounds.x1
199 msl:font-metrics.bounds.y1
200 msl:font-metrics.bounds.x2
201 msl:font-metrics.bounds.y2
202 msl:font-metrics.origin.x
203 msl:font-metrics.origin.y
204 </samp></pre>
205
206 <p>MSL supports most methods and attributes discussed in the <a href="perl-magick.html">Perl API for ImageMagick</a>.
207 </p>
208
209 <p>In addition, MSL supports the <samp>swap</samp> element with a single <samp>indexes</samp> element.</p>
210
211 <h2><a class="anchor" id="options"></a>Option Summary</h2>
212
213 <p>The <samp>conjure</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
214
215 <table class="table table-sm table-hover table-striped table-responsive">
216 <thead>
217 <tr>
218 <th align="left">Option</th>
219 <th align="left">Description</th>
220 </tr>
221 </thead>
222
223 <tbody>
224 <tr>
225 <td><a href="command-line-options.html#debug">-debug <var>events</var></a></td>
226 <td>display copious debugging information</td>
227 </tr>
228
229 <tr>
230 <td><a href="command-line-options.html#help">-help</a></td>
231 <td>print program options</td>
232 </tr>
233
234 <tr>
235 <td><a href="command-line-options.html#log">-log <var>format</var></a></td>
236 <td>format of debugging information</td>
237 </tr>
238
239 <tr>
240 <td><a href="command-line-options.html#monitor">-monitor</a></td>
241 <td>monitor progress</td>
242 </tr>
243
244 <tr>
245 <td><a href="command-line-options.html#quiet">-quiet</a></td>
246 <td>suppress all warning messages</td>
247 </tr>
248
249 <tr>
250 <td><a href="command-line-options.html#regard-warnings">-regard-warnings</a></td>
251 <td>pay attention to warning messages.</td>
252 </tr>
253
254 <tr>
255 <td><a href="command-line-options.html#seed">-seed <var>value</var></a></td>
256 <td>seed a new sequence of pseudo-random numbers</td>
257 </tr>
258
259 <tr>
260 <td><a href="command-line-options.html#verbose">-verbose</a></td>
261 <td>print detailed information about the image</td>
262 </tr>
263
264 <tr>
265 <td><a href="command-line-options.html#version">-version</a></td>
266 <td>print version information</td>
267 </tr>
268
269 </tbody>
270 </table>
271
272 <h2><a class="anchor" id="msl"></a>Magick Scripting Language</h2>
273 <p>The <samp>conjure</samp> command recognizes these MSL elements. Any element with a strike-thru is not supported yet.</p>
274 <table class="table table-sm table-hover table-striped table-responsive caption-top">
275 <caption>Magick Scripting Language (MSL)</caption>
276 <thead>
277 <tr>
278 <th>Method</th>
279 <th style="width: 40%;">Parameters</th>
280 <th style="width: 40%;">Description</th>
281 </tr>
282 </thead>
283
284 <tbody>
285 <tr>
286 <td><strike>adaptiveblur</strike></td>
287 <td>geometry="geometry", radius="double", sigma="double", bias="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
288
289 <td>adaptively blur the image with a Gaussian operator of the given radius and standard deviation (sigma). Decrease the effect near edges.</td>
290 </tr>
291
292 <tr>
293 <td><strike>adaptiveresize</strike></td>
294 <td>geometry="geometry", width="integer", height="integer", filter="Point, Box, Triangle, Hermite, Hanning, Hamming, Blackman, Gaussian, Quadratic, Cubic, Catrom, Mitchell, Lanczos, Bessel, Sinc", support="double", blur="double"</td>
295
296 <td>adaptively resize image using data dependant triangulation. Specify blur &gt; 1 for blurry or &lt; 1 for sharp</td>
297 </tr>
298
299 <tr>
300 <td><strike>adaptivesharpen</strike></td>
301
302 <td>geometry="geometry", radius="double", sigma="double", bias="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
303 <td>adaptively sharpen the image with a Gaussian operator of the given radius and standard deviation (sigma). Increase the effect near edges.</td>
304 </tr>
305
306 <tr>
307 <td><strike>adaptivethreshold</strike></td>
308 <td>geometry="geometry", width="integer", height="integer", offset="integer"</td>
309 <td>local adaptive thresholding.</td>
310
311 </tr>
312
313 <tr>
314 <td><strike>addnoise</strike></td>
315 <td>noise="Uniform, Gaussian, Multiplicative, Impulse, Laplacian, Poisson", attenuate="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
316 <td>add noise to an image</td>
317
318 </tr>
319
320 <tr>
321 <td><strike>affinetransform</strike></td>
322 <td>affine="array of float values", translate="float, float", scale= "float, float", rotate="float", skewX="float", skewY="float", interpolate="Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor", background="color name"</td>
323
324 <td>affine transform image</td>
325 </tr>
326
327 <tr>
328 <td><strike>affinity</strike></td>
329 <td>image="image-handle", method="None, FloydSteinberg, Riemersma"</td>
330
331 <td>choose a particular set of colors from this image</td>
332 </tr>
333
334 <tr>
335 <td>&lt;annotate&gt;</td>
336 <td>text="string", font="string", family="string", style="Normal, Italic, Oblique, Any", stretch="Normal, UltraCondensed, ExtraCondensed, Condensed, SemiCondensed, SemiExpanded, Expanded, ExtraExpanded, UltraExpanded", weight="integer", pointsize="integer", density="geometry", stroke="color name", strokewidth="integer", fill="color name", undercolor="color name", kerning="float", geometry="geometry", gravity="NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast", antialias="true, false", x="integer", y="integer", affine="array of float values", translate="float, float", scale="float, float", rotate="float". skewX="float", skewY= "float", align="Left, Center, Right", encoding="UTF-8", interline-spacing="double", interword-spacing="double", direction="right-to-left, left-to-right"</td>
337
338 <td>annotate an image with text. See QueryFontMetrics to get font metrics without rendering any text.</td>
339 </tr>
340
341 <tr>
342 <td><strike>autogamma</strike></td>
343 <td>channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
344
345 <td>automagically adjust gamma level of image</td>
346 </tr>
347
348 <tr>
349 <td><strike>autolevel</strike></td>
350 <td>channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
351 <td>automagically adjust color levels of image</td>
352
353 </tr>
354
355 <tr>
356 <td>autoorient</td>
357 <td> </td>
358 <td>adjusts an image so that its orientation is suitable for viewing (i.e. top-left orientation)</td>
359 </tr>
360
361 <tr>
362
363 <td><strike>blackthreshold</strike></td>
364 <td>threshold="string", , channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
365 <td>force all pixels below the threshold intensity into black</td>
366 </tr>
367
368 <tr>
369
370 <td><strike>blueshift</strike></td>
371 <td>factor="double",</td>
372 <td>simulate a scene at nighttime in the moonlight. Start with a factor of 1.5.</td>
373 </tr>
374
375 <tr>
376 <td>&lt;blur&gt;</td>
377
378 <td>geometry="geometry", radius="double", sigma="double", bias="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
379 <td>reduce image noise and reduce detail levels with a Gaussian operator of the given radius and standard deviation (sigma).</td>
380 </tr>
381
382 <tr>
383 <td>&lt;border&gt;</td>
384 <td>geometry="geometry", width="integer", height="integer", bordercolor="color name", compose="Undefined, Add, Atop, Blend, Bumpmap, Clear, ColorBurn, ColorDodge, Colorize, CopyBlack, CopyBlue, CopyCMYK, Cyan, CopyGreen, Copy, CopyMagenta, CopyOpacity, CopyRed, RGB, CopyYellow, Darken, Dst, Difference, Displace, Dissolve, DstAtop, DstIn, DstOut, DstOver, Dst, Exclusion, HardLight, Hue, In, Lighten, Luminize, Minus, Modulate, Multiply, None, Out, Overlay, Over, Plus, ReplaceCompositeOp, Saturate, Screen, SoftLight, Src, SrcAtop, SrcIn, SrcOut, SrcOver, Src, Subtract, Threshold, Xor ",</td>
385
386 <td>surround the image with a border of color</td>
387 </tr>
388
389 <tr>
390 <td>&lt;charcoal&gt;</td>
391 <td>geometry="geometry", radius="double", sigma="double"</td>
392
393 <td>simulate a charcoal drawing</td>
394 </tr>
395
396 <tr>
397 <td>&lt;chop&gt;</td>
398 <td>geometry="geometry", width="integer", height="integer", x="integer", y="integer"</td>
399
400 <td>chop an image</td>
401 </tr>
402
403 <tr>
404 <td><strike>clamp</strike></td>
405 <td>channel="Red, RGB, All, etc."</td>
406 <td>set each pixel whose value is below zero to zero and any the pixel whose value is above the quantum range to the quantum range (e.g. 65535) otherwise the pixel value remains unchanged.</td>
407
408 </tr>
409
410 <tr>
411 <td><strike>clip</strike></td>
412 <td>id="name", inside=""true, false"",</td>
413 <td>apply along a named path from the 8BIM profile.</td>
414
415 </tr>
416
417 <tr>
418 <td><strike>clipmask</strike></td>
419 <td>mask="image-handle"</td>
420 <td>clip image as defined by the image mask</td>
421 </tr>
422
423 <tr>
424 <td><strike>clut</strike></td>
425 <td>image="image-handle", interpolate="Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor", channel="Red, RGB, All, etc."</td>
426 <td>apply a color lookup table to an image sequence</td>
427 </tr>
428
429 <tr>
430 <td><strike>coalesce</strike></td>
431 <td> </td>
432 <td>merge a sequence of images</td>
433 </tr>
434
435 <tr>
436 <td><strike>color</strike></td>
437
438 <td>color="color name"</td>
439 <td>set the entire image to this color.</td>
440 </tr>
441
442 <tr>
443 <td><strike>colordecisionlist</strike></td>
444 <td>filename="string",</td>
445
446 <td>color correct with a color decision list.</td>
447 </tr>
448
449 <tr>
450 <td>&lt;colorize&gt;</td>
451 <td>fill="color name", blend="string"</td>
452
453 <td>colorize the image with the fill color</td>
454 </tr>
455
456 <tr>
457 <td><strike>colormatrix</strike></td>
458 <td>matrix="array of float values"</td>
459 <td>apply color correction to the image. Although you can use variable sized matrices, typically you use a 5 x 5 for an RGBA image and a 6x6 for CMYKA. A 6x6 matrix is required for offsets (populate the last column with normalized values).</td>
460
461 </tr>
462
463 <tr>
464 <td>&lt;comment&gt;</td>
465 <td>string</td>
466 <td>add a comment to your image</td>
467 </tr>
468
469 <tr>
470 <td><strike>comparelayers</strike></td>
471 <td>method="any, clear, overlay"</td>
472 <td>compares each image with the next in a sequence and returns the minimum bounding region of any pixel differences it discovers. Images do not have to be the same size, though it is best that all the images are coalesced (images are all the same size, on a flattened canvas, so as to represent exactly how a specific frame should look).</td>
473 </tr>
474
475 <tr>
476
477 <td>&lt;composite&gt;</td>
478 <td>image="image-handle", compose="Undefined, Add, Atop, Blend, Bumpmap, Clear, ColorBurn, ColorDodge, Colorize, CopyBlack, CopyBlue, CopyCMYK, Cyan, CopyGreen, Copy, CopyMagenta, CopyOpacity, CopyRed, RGB, CopyYellow, Darken, Dst, Difference, Displace, Dissolve, DstAtop, DstIn, DstOut, DstOver, Dst, Exclusion, HardLight, Hue, In, Lighten, Luminize, Minus, Modulate, Multiply, None, Out, Overlay, Over, Plus, ReplaceCompositeOp, Saturate, Screen, SoftLight, Src, SrcAtop, SrcIn, SrcOut, SrcOver, Src, Subtract, Threshold, Xor ", mask="image-handle", geometry="geometry", x="integer", y="integer", gravity="NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast", opacity="integer", tile="True, False", rotate="double", color="color name", blend="geometry", interpolate="undefined, average, bicubic, bilinear, filter, integer, mesh, nearest-neighbor, spline"</td>
479
480 <td>composite one image onto another. Use the rotate parameter in concert with the tile parameter.</td>
481 </tr>
482
483 <tr>
484 <td>&lt;contrast&gt;</td>
485 <td>sharpen="True, False"</td>
486 <td>enhance or reduce the image contrast</td>
487
488 </tr>
489
490 <tr>
491 <td><strike>contraststretch</strike></td>
492 <td>levels="string", 'black-point'="double", 'white-point'="double", channel="Red, RGB, All, etc."</td>
493
494 <td>improve the contrast in an image by `stretching' the range of intensity values</td>
495 </tr>
496
497 <tr>
498 <td><strike>convolve</strike></td>
499 <td>coefficients="array of float values", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", bias="double"</td>
500
501 <td>apply a convolution kernel to the image. Given a kernel "order" , you would supply "order*order" float values (e.g. 3x3 implies 9 values).</td>
502 </tr>
503
504 <tr>
505 <td>&lt;crop&gt;</td>
506
507 <td>geometry="geometry", width="integer", height="integer", x="integer", y="integer", fuzz="double", gravity="NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast"</td>
508 <td>crop an image</td>
509
510 </tr>
511
512 <tr>
513 <td><strike>cyclecolormap</strike></td>
514 <td>amount="integer"</td>
515 <td>displace image colormap by amount</td>
516 </tr>
517
518 <tr>
519 <td><strike>decipher</strike></td>
520 <td>passphrase="string"</td>
521 <td>convert cipher pixels to plain pixels</td>
522 </tr>
523
524 <tr>
525
526 <td><strike>deconstruct</strike></td>
527 <td> </td>
528 <td>break down an image sequence into constituent parts</td>
529 </tr>
530
531 <tr>
532 <td><strike>deskew</strike></td>
533 <td>geometry="string",threshold="double"</td>
534
535 <td>straighten the image</td>
536 </tr>
537
538 <tr>
539 <td>&lt;despeckle&gt;</td>
540 <td> </td>
541 <td>reduce the speckles within an image</td>
542 </tr>
543
544 <tr>
545 <td><strike>difference</strike></td>
546 <td>image="image-handle"</td>
547 <td>compute the difference metrics between two images </td>
548 </tr>
549
550 <tr>
551
552 <td><strike>distort</strike></td>
553 <td>points="array of float values", method="Affine, AffineProjection, Bilinear, Perspective, Resize, ScaleRotateTranslate", virtual-pixel="Background Black Constant Dither Edge Gray Mirror Random Tile Transparent White", best-fit="True, False"</td>
554 <td>distort image</td>
555 </tr>
556
557 <tr>
558 <td>&lt;draw&gt;</td>
559 <td>primitive="point, line, rectangle, arc, ellipse, circle, path, polyline, polygon, bezier, color, matte, text, @"filename"", points="string" , method=""Point, Replace, Floodfill, FillToBorder, Reset"", stroke="color name", fill="color name", font="string", pointsize="integer", strokewidth="float", antialias="true, false", bordercolor="color name", x="float", y="float", dash-offset="float", dash-pattern="array of float values", affine="array of float values", translate="float, float", scale="float, float", rotate="float", skewX="float", skewY="float", interpolate="undefined, average, bicubic, bilinear, mesh, nearest-neighbor, spline", kerning="float", text="string", vector-graphics="string", interline-spacing="double", interword-spacing="double", direction="right-to-left, left-to-right"</td>
560
561 <td>annotate an image with one or more graphic primitives.</td>
562 </tr>
563
564 <tr>
565 <td><strike>encipher</strike></td>
566 <td>passphrase="string"</td>
567 <td>convert plain pixels to cipher pixels</td>
568
569 </tr>
570
571 <tr>
572 <td>&lt;edge&gt;</td>
573 <td>radius="double"</td>
574 <td>enhance edges within the image with a convolution filter of the given radius.</td>
575 </tr>
576
577 <tr>
578 <td>&lt;emboss&gt;</td>
579 <td>geometry="geometry", radius="double", sigma="double"</td>
580 <td>emboss the image with a convolution filter of the given radius and standard deviation (sigma).</td>
581
582 </tr>
583
584 <tr>
585 <td>&lt;enhance&gt;</td>
586 <td> </td>
587 <td>apply a digital filter to enhance a noisy image</td>
588 </tr>
589
590 <tr>
591
592 <td>&lt;equalize&gt;</td>
593 <td>channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow" </td>
594 <td>perform histogram equalization to the image</td>
595 </tr>
596
597 <tr>
598 <td><strike>extent</strike></td>
599
600 <td>geometry="geometry", width="integer", height="integer", x="integer", y="integer", fuzz="double", background="color name", gravity="NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast"</td>
601
602 <td>set the image size</td>
603 </tr>
604
605 <tr>
606 <td><strike>evaluate</strike></td>
607 <td>value="double", operator=""Add, And, Divide, LeftShift, Max, Min, Multiply, Or, Rightshift, Subtract, Xor"", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow" </td>
608
609 <td>apply an arithmetic, relational, or logical expression to the image</td>
610 </tr>
611
612 <tr>
613 <td><strike>filter</strike></td>
614 <td>kernel="string", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", bias="double"</td>
615
616 <td>apply a convolution kernel to the image.</td>
617 </tr>
618
619 <tr>
620 <td>&lt;flip&gt;</td>
621 <td> </td>
622 <td>reflect the image scanlines in the vertical direction</td>
623 </tr>
624
625 <tr>
626 <td>&lt;flop&gt;</td>
627 <td> </td>
628 <td>reflect the image scanlines in the horizontal direction</td>
629 </tr>
630
631 <tr>
632 <td><strike>floodfillpaint</strike></td>
633
634 <td>geometry="geometry", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", x="integer", y="integer" , fill="color name", bordercolor="color name", fuzz="double", invert="True, False"</td>
635
636 <td>changes the color value of any pixel that matches the color of the target pixel and is a neighbor. If you specify a border color, the color value is changed for any neighbor pixel that is not that color.</td>
637 </tr>
638
639 <tr>
640 <td><strike>forwardfouriertransform</strike></td>
641 <td>magnitude="True, False"</td>
642 <td>implements the forward discrete Fourier transform (DFT)</td>
643
644 </tr>
645
646 <tr>
647 <td>&lt;frame&gt;</td>
648 <td>geometry="geometry", width="integer", height="integer", inner="integer", outer="integer", fill="color name", compose="Undefined, Add, Atop, Blend, Bumpmap, Clear, ColorBurn, ColorDodge, Colorize, CopyBlack, CopyBlue, CopyCMYK, Cyan, CopyGreen, Copy, CopyMagenta, CopyOpacity, CopyRed, RGB, CopyYellow, Darken, Dst, Difference, Displace, Dissolve, DstAtop, DstIn, DstOut, DstOver, Dst, Exclusion, HardLight, Hue, In, Lighten, Luminize, Minus, Modulate, Multiply, None, Out, Overlay, Over, Plus, ReplaceCompositeOp, Saturate, Screen, SoftLight, Src, SrcAtop, SrcIn, SrcOut, SrcOver, Src, Subtract, Threshold, Xor ",</td>
649
650 <td>surround the image with an ornamental border</td>
651 </tr>
652
653 <tr>
654 <td><strike>function</strike></td>
655 <td>parameters="array of float values", function="Sin", virtual-pixel="Background Black Constant Dither Edge Gray Mirror Random Tile Transparent White"</td>
656
657 <td>apply a function to the image</td>
658 </tr>
659
660 <tr>
661 <td>&lt;gamma&gt;</td>
662 <td>gamma="string", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
663
664 <td>gamma correct the image</td>
665 </tr>
666
667 <tr>
668 <td><strike>gaussianblur</strike></td>
669 <td>geometry="geometry", radius="double", sigma="double", bias="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
670
671 <td>reduce image noise and reduce detail levels with a Gaussian operator of the given radius and standard deviation (sigma).</td>
672 </tr>
673
674 <tr>
675 <td><strike>getpixel</strike></td>
676 <td>geometry="geometry", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", normalize="true, false", x="integer", y="integer"</td>
677
678 <td>get a single pixel. By default normalized pixel values are returned.</td>
679 </tr>
680
681 <tr>
682 <td><strike>getpixels</strike></td>
683 <td>geometry="geometry", width="integer", height="integer", x="integer", y="integer", map="string", normalize="true, false"</td>
684
685 <td>get image pixels as defined by the map (e.g. "RGB", "RGBA", etc.). By default non-normalized pixel values are returned.</td>
686 </tr>
687
688 <tr>
689 <td><strike>grayscale</strike></td>
690 <td>channel="Average, Brightness, Lightness, Rec601Luma, Rec601Luminance, Rec709Luma, Rec709Luminance, RMS"</td>
691 <td>convert image to grayscale</td>
692
693 </tr>
694
695 <tr>
696 <td><strike>haldclut</strike></td>
697 <td>image="image-handle", channel="Red, RGB, All, etc."</td>
698 <td>apply a Hald color lookup table to an image sequence</td>
699
700 </tr>
701
702 <tr>
703 <td><strike>identify</strike></td>
704 <td>file="file", features="distance", unique="True, False"</td>
705 <td>identify the attributes of an image</td>
706
707 </tr>
708
709 <tr>
710 <td>&lt;implode&gt;</td>
711 <td>amount="double", interpolate="undefined, average, bicubic, bilinear, mesh, nearest-neighbor, spline"</td>
712 <td>implode image pixels about the center</td>
713
714 </tr>
715
716 <tr>
717 <td><strike>inversediscretefouriertransform</strike></td>
718 <td>magnitude="True, False"</td>
719 <td>implements the inverse discrete Fourier transform (DFT)</td>
720 </tr>
721
722 <tr>
723 <td>&lt;label&gt;</td>
724 <td>string</td>
725 <td>assign a label to an image</td>
726 </tr>
727
728 <tr>
729
730 <td><strike>layers</strike></td>
731 <td>method="coalesce, compare-any, compare-clear, compare-over, composite, dispose, flatten, merge, mosaic, optimize, optimize-image, optimize-plus, optimize-trans, remove-dups, remove-zero", compose="Undefined, Add, Atop, Blend, Bumpmap, Clear, ColorBurn, ColorDodge, Colorize, CopyBlack, CopyBlue, CopyCMYK, Cyan, CopyGreen, Copy, CopyMagenta, CopyOpacity, CopyRed, RGB, CopyYellow, Darken, Dst, Difference, Displace, Dissolve, DstAtop, DstIn, DstOut, DstOver, Dst, Exclusion, HardLight, Hue, In, Lighten, LinearLight, Luminize, Minus, Modulate, Multiply, None, Out, Overlay, Over, Plus, ReplaceCompositeOp, Saturate, Screen, SoftLight, Src, SrcAtop, SrcIn, SrcOut, SrcOver, Src, Subtract, Threshold, Xor ", dither="true, false"</td>
732 <td>compare each image the GIF disposed forms of the previous image in the sequence. From this, attempt to select the smallest cropped image to replace each frame, while preserving the results of the animation.</td>
733 </tr>
734
735 <tr>
736
737 <td>&lt;level&gt;</td>
738 <td>levels="string", 'black-point'="double", 'gamma'="double", 'white-point'="double", channel="Red, RGB, All, etc."</td>
739 <td>adjust the level of image contrast</td>
740
741 </tr>
742
743 <tr>
744 <td><strike>levelcolors</strike></td>
745 <td>invert=&gt;"True, False", 'black-point'="string", 'white-point'="string", channel="Red, RGB, All, etc."</td>
746
747 <td>level image with the given colors</td>
748 </tr>
749
750 <tr>
751 <td><strike>linearstretch</strike></td>
752 <td>levels="string", 'black-point'="double", 'white-point'="double"</td>
753
754 <td>linear with saturation stretch</td>
755 </tr>
756
757 <tr>
758 <td><strike>liquidresize</strike></td>
759 <td>geometry="geometry", width="integer", height="integer", delta-x="double", rigidity="double"</td>
760
761 <td>rescale image with seam-carving.</td>
762 </tr>
763
764 <tr>
765 <td>&lt;magnify&gt;</td>
766 <td> </td>
767 <td>double the size of the image with pixel art scaling</td>
768 </tr>
769
770 <tr>
771 <td><strike>mask</strike></td>
772 <td>mask="image-handle"</td>
773 <td>composite image pixels as defined by the mask</td>
774 </tr>
775
776 <tr>
777
778 <td><strike>mattefloodfill</strike></td>
779 <td>geometry="geometry", x="integer", y="integer" , matte="integer", bordercolor="color name", fuzz="double", invert="True, False"</td>
780
781 <td>changes the matte value of any pixel that matches the color of the target pixel and is a neighbor. If you specify a border color, the matte value is changed for any neighbor pixel that is not that color.</td>
782 </tr>
783
784 <tr>
785 <td><strike>medianfilter</strike></td>
786 <td>geometry="geometry", width="integer", height="integer", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
787
788 <td>replace each pixel with the median intensity pixel of a neighborhood.</td>
789 </tr>
790
791 <tr>
792 <td>&lt;minify&gt;</td>
793 <td> </td>
794 <td>half the size of an image</td>
795 </tr>
796
797 <tr>
798 <td><strike>mode</strike></td>
799 <td>geometry="geometry", width="integer", height="integer", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
800 <td>make each pixel the "predominant color" of the neighborhood.</td>
801
802 </tr>
803
804 <tr>
805 <td>&lt;modulate&gt;</td>
806 <td>factor="geometry", brightness="double", saturation="double", hue="double", lightness="double", whiteness="double", blackness="double" </td>
807
808 <td>vary the brightness, saturation, and hue of an image by the specified percentage</td>
809 </tr>
810
811 <tr>
812 <td><strike>morphology</strike></td>
813 <td>kernel="string", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", iterations="integer"</td>
814
815 <td>apply a morphology method to the image.</td>
816 </tr>
817
818 <tr>
819 <td><strike>motionblur</strike></td>
820 <td>geometry="geometry", radius="double", sigma="double", angle="double", bias="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
821
822 <td>reduce image noise and reduce detail levels with a Gaussian operator of the given radius and standard deviation (sigma) at the given angle to simulate the effect of motion</td>
823 </tr>
824
825 <tr>
826 <td>&lt;negate&gt;</td>
827 <td>gray="True, False", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
828 <td>replace each pixel with its complementary color (white becomes black, yellow becomes blue, etc.)</td>
829
830 </tr>
831
832 <tr>
833 <td>&lt;normalize&gt;</td>
834 <td>channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow" </td>
835 <td>transform image to span the full range of color values</td>
836 </tr>
837
838 <tr>
839 <td><strike>oilpaint</strike></td>
840 <td>radius="integer"</td>
841 <td>simulate an oil painting</td>
842 </tr>
843
844 <tr>
845
846 <td>&lt;opaque&gt;</td>
847 <td>color="color name",
848 fill="color name", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", invert="True, False"</td>
849 <td>change this color to the fill color within the image</td>
850 </tr>
851
852 <tr>
853 <td><strike>ordereddither</strike></td>
854 <td>threshold="threshold, checks, o2x2, o3x3, o4x4, o8x8, h4x4a, h6x6a, h8x8a, h4x4o, h6x6o, h8x8o, h16x16o, hlines6x4", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
855 <td>order dither image</td>
856 </tr>
857
858 <tr>
859 <td><strike>perceptible</strike></td>
860 <td>epsilon="double", channel="Red, RGB, All, etc."</td>
861 <td>set each pixel whose value is less than |"epsilon"| to "-epsilon" or "epsilon" (whichever is closer) otherwise the pixel value remains unchanged..</td>
862
863 </tr>
864
865 <tr>
866 <td><strike>polaroid</strike></td>
867 <td>caption="string", angle="double", pointsize="double", font="string", stroke= "color name", strokewidth="integer", fill="color name", gravity="NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast", background="color name"</td>
868
869 <td>simulate a Polaroid picture.</td>
870 </tr>
871
872 <tr>
873 <td><strike>posterize</strike></td>
874 <td>levels="integer", dither="True, False"</td>
875
876 <td>reduce the image to a limited number of color level</td>
877 </tr>
878
879 <tr>
880 <td>&lt;profile&gt;</td>
881 <td>name="string", profile="blob", rendering-intent="Undefined, Saturation, Perceptual, Absolute, Relative", black-point-compensation="True, False"</td>
882
883 <td>add or remove ICC or IPTC image profile; name is formal name (e.g. ICC or filename; set profile to '' to remove profile</td>
884 </tr>
885
886 <tr>
887 <td>&lt;quantize&gt;</td>
888 <td>colors="integer", colorspace="RGB, Gray, Transparent, OHTA, XYZ, YCbCr, YIQ, YPbPr, YUV, CMYK, sRGB, HSL, HSB", treedepth= "integer", dither="True, False", dither-method="Riemersma, Floyd-Steinberg", measure_error="True, False", global_colormap="True, False", transparent-color="color"</td>
889
890 <td>preferred number of colors in the image</td>
891 </tr>
892
893 <tr>
894 <td><strike>radialblur</strike></td>
895 <td>geometry="geometry", angle="double", bias="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
896
897 <td>radial blur the image.</td>
898 </tr>
899
900 <tr>
901 <td>&lt;raise&gt;</td>
902 <td>geometry="geometry", width="integer", height="integer", x="integer", y="integer", raise="True, False"</td>
903
904 <td>lighten or darken image edges to create a 3-D effect</td>
905 </tr>
906
907 <tr>
908 <td><strike>reducenoise</strike></td>
909 <td>geometry="geometry", width="integer", height="integer", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
910
911 <td>reduce noise in the image with a noise peak elimination filter</td>
912 </tr>
913
914 <tr>
915 <td><strike>remap</strike></td>
916 <td>image="image-handle", dither="true, false", dither-method="Riemersma, Floyd-Steinberg"</td>
917
918 <td>replace the colors of an image with the closest color from a reference image.</td>
919 </tr>
920
921 <tr>
922 <td>&lt;resample&gt;</td>
923 <td>density="geometry", x="double", y="double", filter="Point, Box, Triangle, Hermite, Hanning, Hamming, Blackman, Gaussian, Quadratic, Cubic, Catrom, Mitchell, Lanczos, Bessel, Sinc", support="double"</td>
924
925 <td>resample image to desired resolution. Specify blur &gt; 1 for blurry or &lt; 1 for sharp</td>
926 </tr>
927
928 <tr>
929 <td>&lt;resize&gt;</td>
930
931 <td>geometry="geometry", width="integer", height="integer", filter="Point, Box, Triangle, Hermite, Hanning, Hamming, Blackman, Gaussian, Quadratic, Cubic, Catrom, Mitchell, Lanczos, Bessel, Sinc", support="double", blur="double"</td>
932 <td>scale image to desired size. Specify blur &gt; 1 for blurry or &lt; 1 for sharp</td>
933
934 </tr>
935
936 <tr>
937 <td>&lt;roll&gt;</td>
938 <td>geometry="geometry", x="integer", y="integer"</td>
939 <td>roll an image vertically or horizontally</td>
940
941 </tr>
942
943 <tr>
944 <td>&lt;rotate&gt;</td>
945 <td>degrees="double", background="color name"</td>
946 <td>rotate an image</td>
947
948 </tr>
949
950 <tr>
951 <td>&lt;sample&gt;</td>
952 <td>geometry="geometry", width="integer", height="integer"</td>
953 <td>scale image with pixel sampling.</td>
954
955 </tr>
956
957 <tr>
958 <td>&lt;scale&gt;</td>
959 <td>geometry="geometry", width="integer", height="integer"</td>
960 <td>scale image to desired size</td>
961
962 </tr>
963
964 <tr>
965 <td>&lt;segment&gt;</td>
966 <td>colorspace="RGB, Gray, Transparent, OHTA, XYZ, YCbCr, YCC, YIQ, YPbPr, YUV, CMYK", verbose="True, False", cluster-threshold="double", smoothing-threshold="double"</td>
967 <td>segment an image by analyzing the histograms of the color components and identifying units that are homogeneous</td>
968
969 </tr>
970
971 <tr>
972 <td><strike>selectiveblur</strike></td>
973 <td>geometry="geometry", radius="double", sigma="double", threshold="double", bias="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
974
975 <td>selectively blur pixels within a contrast threshold.</td>
976 </tr>
977 <tr>
978 <td><strike>separate</strike></td>
979 <td>channel="Red, RGB, All, etc."</td>
980 <td>separate a channel from the image into a grayscale image</td>
981
982 </tr>
983
984 <tr>
985 <td>&lt;shade&gt;</td>
986 <td>geometry="geometry", azimuth="double", elevation="double", gray="true, false"</td>
987
988 <td>shade the image using a distant light source</td>
989 </tr>
990
991 <tr>
992 <td><strike>setpixel</strike></td>
993 <td>geometry="geometry", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", color="array of float values", x="integer", y="integer", color="array of float values"</td>
994
995 <td>set a single pixel. By default normalized pixel values are expected.</td>
996 </tr>
997
998 <tr>
999 <td>&lt;shadow&gt;</td>
1000 <td>geometry="geometry", opacity="double", sigma="double", x="integer", y="integer"</td>
1001
1002 <td>simulate an image shadow</td>
1003 </tr>
1004
1005 <tr>
1006 <td>&lt;sharpen&gt;</td>
1007 <td>geometry="geometry", radius="double", sigma="double", bias="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
1008
1009 <td>sharpen the image with a Gaussian operator of the given radius and standard deviation (sigma).</td>
1010 </tr>
1011
1012 <tr>
1013 <td>&lt;shave&gt;</td>
1014 <td>geometry="geometry", width="integer", height="integer"</td>
1015
1016 <td>shave pixels from the image edges</td>
1017 </tr>
1018
1019 <tr>
1020 <td>&lt;shear&gt;</td>
1021 <td>geometry="geometry", x="double", y="double" fill="color name"</td>
1022
1023 <td>shear the image along the X or Y axis by a positive or negative shear angle</td>
1024 </tr>
1025
1026 <tr>
1027 <td><strike>sigmoidalcontrast</strike></td>
1028 <td>geometry="string", 'contrast'="double", 'mid-point'="double" channel="Red, RGB, All, etc.", sharpen="True, False"</td>
1029
1030 <td>sigmoidal non-linearity contrast control. Increase the contrast of the image using a sigmoidal transfer function without saturating highlights or shadows. Contrast" indicates how much to increase the contrast (0 is none; 3 is typical; 20 is a lot); mid-point" indicates where midtones fall in the resultant image (0 is white; 50% is middle-gray; 100% is black). To decrease contrast, set sharpen to False.</td>
1031 </tr>
1032
1033 <tr>
1034 <td>&lt;signature&gt;</td>
1035
1036 <td> </td>
1037 <td>generate an SHA-256 message digest for the image pixel stream</td>
1038 </tr>
1039
1040 <tr>
1041 <td><strike>sketch</strike></td>
1042 <td>geometry="geometry", radius="double", sigma="double", angle="double"</td>
1043
1044 <td>sketch the image with a Gaussian operator of the given radius and standard deviation (sigma) at the given angle</td>
1045 </tr>
1046
1047 <tr>
1048 <td>&lt;solarize&gt;</td>
1049 <td>geometry="string", threshold="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
1050
1051 <td>negate all pixels above the threshold level</td>
1052 </tr>
1053
1054 <tr>
1055 <td><strike>sparsecolor</strike></td>
1056 <td>points="array of float values", method="Barycentric, Bilinear, Shepards, Voronoi", virtual-pixel="Background Black Constant Dither Edge Gray Mirror Random Tile Transparent White"</td>
1057
1058 <td>interpolate the image colors around the supplied points</td>
1059 </tr>
1060
1061 <tr>
1062 <td><strike>splice</strike></td>
1063 <td>geometry="geometry", width="integer", height="integer", x="integer", y="integer", fuzz="double", background="color name", gravity="NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast"</td>
1064
1065 <td>splice an image</td>
1066 </tr>
1067
1068 <tr>
1069 <td>&lt;spread&gt;</td>
1070 <td>radius="double", interpolate="undefined, average, bicubic, bilinear, mesh, nearest-neighbor, spline"</td>
1071
1072 <td>displace image pixels by a random amount</td>
1073 </tr>
1074
1075 <tr>
1076 <td><strike>statistic</strike></td>
1077 <td>geometry="geometry", width="integer", height="integer", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", type="Median, Mode, Mean, Maximum, Minimum, ReduceNoise"</td>
1078
1079 <td>replace each pixel with corresponding statistic from the neighborhood.</td>
1080 </tr>
1081 <tr>
1082 <td>&lt;stegano&gt;</td>
1083 <td>image="image-handle", offset="integer"</td>
1084 <td>hide a digital watermark within the image</td>
1085
1086 </tr>
1087
1088 <tr>
1089 <td>&lt;stereo&gt;</td>
1090 <td>image="image-handle", x="integer", y="integer"</td>
1091 <td>composites two images and produces a single image that is the composite of a left and right image of a stereo pair</td>
1092
1093 </tr>
1094
1095 <tr>
1096 <td>&lt;strip&gt;</td>
1097 <td> </td>
1098 <td>strip an image of all profiles and comments.</td>
1099 </tr>
1100
1101 <tr>
1102
1103 <td>&lt;swirl&gt;</td>
1104 <td>degrees="double", interpolate="undefined, average, bicubic, bilinear, mesh, nearest-neighbor, spline"</td>
1105 <td>swirl image pixels about the center</td>
1106 </tr>
1107
1108 <tr>
1109
1110 <td><strike>texture</strike></td>
1111 <td>texture="image-handle"</td>
1112 <td>name of texture to tile onto the image background</td>
1113 </tr>
1114
1115 <tr>
1116 <td><strike>thumbnail</strike></td>
1117
1118 <td>geometry="geometry", width="integer", height="integer"</td>
1119 <td>changes the size of an image to the given dimensions and removes any associated profiles.</td>
1120 </tr>
1121
1122 <tr>
1123 <td>&lt;threshold&gt;</td>
1124
1125 <td>threshold="string", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
1126 <td>threshold the image</td>
1127 </tr>
1128
1129 <tr>
1130 <td><strike>tint</strike></td>
1131
1132 <td>fill="color name", blend="string"</td>
1133 <td>tint the image with the fill color.</td>
1134 </tr>
1135
1136 <tr>
1137 <td>&lt;transparent&gt;</td>
1138
1139 <td>color="color name", invert="True, False"</td>
1140 <td>make this color transparent within the image</td>
1141 </tr>
1142
1143 <tr>
1144 <td><strike>transpose</strike></td>
1145
1146 <td> </td>
1147 <td>flip image in the vertical direction and rotate 90 degrees</td>
1148 </tr>
1149
1150 <tr>
1151 <td><strike>transverse</strike></td>
1152 <td> </td>
1153 <td>flop image in the horizontal direction and rotate 270 degrees</td>
1154
1155 </tr>
1156
1157 <tr>
1158 <td>&lt;trim&gt;</td>
1159 <td> </td>
1160 <td>remove edges that are the background color from the image</td>
1161 </tr>
1162
1163 <tr>
1164
1165 <td><strike>unsharpmask</strike></td>
1166 <td>geometry="geometry", radius="double", sigma="double", gain="double", threshold="double"</td>
1167 <td>sharpen the image with the unsharp mask algorithm.</td>
1168
1169 </tr>
1170
1171 <tr>
1172 <td><strike>vignette</strike></td>
1173 <td>geometry="geometry", radius="double", sigma="double", x="integer", y="integer", background="color name"</td>
1174
1175 <td>offset the edges of the image in vignette style</td>
1176 </tr>
1177
1178 <tr>
1179 <td><strike>wave</strike></td>
1180 <td>geometry="geometry", amplitude="double", wavelength="double", interpolate="undefined, average, bicubic, bilinear, mesh, nearest-neighbor, spline"</td>
1181
1182 <td>alter an image along a sine wave</td>
1183 </tr>
1184
1185 <tr>
1186 <td><strike>whitethreshold</strike></td>
1187 <td>threshold="string", , channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
1188
1189 <td>force all pixels above the threshold intensity into white</td>
1190 </tr>
1191 </tbody>
1192 </table>
1193 </div>
1194 </main><!-- /.container -->
1195 <footer class="text-center pt-5 my-5 text-body-secondary border-top">
1196 <div class="container-fluid">
1197 <a href="security-policy.html">Security</a> •
1198 <a href="../www/news.html">News</a>
1199
1200 <a href="#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../images/wand.ico"/></a>
1201
1202 <a href="../www/links.html">Related</a> •
1203 <a href="../www/sitemap.html">Sitemap</a>
1204 <br/>
1205 <a href="../www/support.html">Sponsor</a> •
1206 <a href="cite.html">Cite</a> •
1207 <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
1208 <a href="../www/../www/../www/https://imagemagick.org/script/contact.php">Contact Us</a>
1209 <br/>
1210 <a href="https://github.com/imagemagick/imagemagick" rel="noopener" target="_blank" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a> •
1211 <a href="https://twitter.com/imagemagick" rel="noopener" target="_blank" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 300 300" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg></a>
1212 <br/>
1213 <small>Copyright © 1999 ImageMagick Studio LLC</small>
1214 </div>
1215 </footer>
1216 </div>
1217
1218 <!-- Javascript assets -->
1219 <script src="assets/bootstrap.bundle.min.js" ></script>
1220 </body>
1221 </html>
1222 <!-- Magick Cache 27th July 2025 09:39 -->