Debian Codegraph @

www/conjure.html

raw symbols ◀ ▶ SCIP
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 </div>
119 </div>
120 </nav>
121
122 <div class="col-lg-8 mx-auto p-4 py-md-5 text-body-secondary">
123 <header class="d-flex align-items-center pb-3 mb-5 border-bottom">
124 <a href="../index.html" class="d-flex align-items-center text-decoration-none">
125 <h1 class="mt-5 fs-4">Command-line Tools: Conjure</h1>
126 </a>
127 </header>
128
129 <main class="container">
130 <div>
131 <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>
132
133 <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>
134
135 <h2><a class="anchor" id="usage"></a>Example Usage</h2>
136
137 <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>
138
139 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><samp>magick conjure -dimensions 400x400 msl:incantation.msl
140 </samp></pre>
141
142 <p>The MSL script <a href="https://imagemagick.org/source/incantation.msl">incantation.msl</a> used above is here:</p>
143
144 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
145 &lt;image&gt;
146 &lt;read filename="image.gif" /&gt;
147 &lt;get width="base-width" height="base-height" /&gt;
148 &lt;resize geometry="%[dimensions]" /&gt;
149 &lt;get width="resize-width" height="resize-height" /&gt;
150 &lt;print output="Image sized from %[base-width]x%[base-height] to %[resize-width]x%[resize-height].\n" /&gt;
151 &lt;write filename="image.png" /&gt;
152 &lt;/image&gt;
153 </samp></pre>
154
155 <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>
156
157 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>&lt;?xml version="1.0" encoding="UTF-8"?>
158 &lt;group>
159 &lt;image id="family">
160 &lt;read filename="family.gif"/>
161 &lt;resize geometry="300x300"/>
162 &lt;/image>
163 &lt;image id="palm-trees">
164 &lt;read filename="palm-trees.gif"/>
165 &lt;resize geometry="300x100"/>
166 &lt;/image>
167 &lt;image>
168 &lt;read filename="beach.jpg"/>
169 &lt;composite image="family" geometry="+30+40"/>
170 &lt;composite image="palm-trees" geometry="+320+90"/>
171 &lt;/image>
172 &lt;write filename="family-vacation.png"/>
173 &lt;/group>
174 </samp></pre>
175
176 <p>Here we display the width in pixels of text for a particular font and pointsize.</p>
177
178 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
179 &lt;image&gt;
180 &lt;query-font-metrics text="ImageMagick" font="helvetica" pointsize="48" /&gt;
181 &lt;print output="Text width is %[msl:font-metrics.width] pixels.\n" /&gt;
182 &lt;/image&gt;
183 </samp></pre>
184
185 <p>The <samp>query-font-metrics</samp> tag supports these properties:</p>
186
187 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>msl:font-metrics.pixels_per_em.x
188 msl:font-metrics.pixels_per_em.y
189 msl:font-metrics.ascent
190 msl:font-metrics.descent
191 msl:font-metrics.width
192 msl:font-metrics.height
193 msl:font-metrics.max_advance
194 msl:font-metrics.bounds.x1
195 msl:font-metrics.bounds.y1
196 msl:font-metrics.bounds.x2
197 msl:font-metrics.bounds.y2
198 msl:font-metrics.origin.x
199 msl:font-metrics.origin.y
200 </samp></pre>
201
202 <p>MSL supports most methods and attributes discussed in the <a href="perl-magick.html">Perl API for ImageMagick</a>.
203 </p>
204
205 <p>In addition, MSL supports the <samp>swap</samp> element with a single <samp>indexes</samp> element.</p>
206
207 <h2><a class="anchor" id="options"></a>Option Summary</h2>
208
209 <p>The <samp>conjure</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
210
211 <table class="table table-sm table-hover table-striped table-responsive">
212 <thead>
213 <tr>
214 <th align="left">Option</th>
215 <th align="left">Description</th>
216 </tr>
217 </thead>
218
219 <tbody>
220 <tr>
221 <td><a href="command-line-options.html#debug">-debug <var>events</var></a></td>
222 <td>display copious debugging information</td>
223 </tr>
224
225 <tr>
226 <td><a href="command-line-options.html#help">-help</a></td>
227 <td>print program options</td>
228 </tr>
229
230 <tr>
231 <td><a href="command-line-options.html#log">-log <var>format</var></a></td>
232 <td>format of debugging information</td>
233 </tr>
234
235 <tr>
236 <td><a href="command-line-options.html#monitor">-monitor</a></td>
237 <td>monitor progress</td>
238 </tr>
239
240 <tr>
241 <td><a href="command-line-options.html#quiet">-quiet</a></td>
242 <td>suppress all warning messages</td>
243 </tr>
244
245 <tr>
246 <td><a href="command-line-options.html#regard-warnings">-regard-warnings</a></td>
247 <td>pay attention to warning messages.</td>
248 </tr>
249
250 <tr>
251 <td><a href="command-line-options.html#seed">-seed <var>value</var></a></td>
252 <td>seed a new sequence of pseudo-random numbers</td>
253 </tr>
254
255 <tr>
256 <td><a href="command-line-options.html#verbose">-verbose</a></td>
257 <td>print detailed information about the image</td>
258 </tr>
259
260 <tr>
261 <td><a href="command-line-options.html#version">-version</a></td>
262 <td>print version information</td>
263 </tr>
264
265 </tbody>
266 </table>
267
268 <h2><a class="anchor" id="msl"></a>Magick Scripting Language</h2>
269 <p>The <samp>conjure</samp> command recognizes these MSL elements. Any element with a strike-thru is not supported yet.</p>
270 <table class="table table-sm table-hover table-striped table-responsive caption-top">
271 <caption>Magick Scripting Language (MSL)</caption>
272 <thead>
273 <tr>
274 <th>Method</th>
275 <th style="width: 40%;">Parameters</th>
276 <th style="width: 40%;">Description</th>
277 </tr>
278 </thead>
279
280 <tbody>
281 <tr>
282 <td><strike>adaptiveblur</strike></td>
283 <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>
284
285 <td>adaptively blur the image with a Gaussian operator of the given radius and standard deviation (sigma). Decrease the effect near edges.</td>
286 </tr>
287
288 <tr>
289 <td><strike>adaptiveresize</strike></td>
290 <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>
291
292 <td>adaptively resize image using data dependant triangulation. Specify blur &gt; 1 for blurry or &lt; 1 for sharp</td>
293 </tr>
294
295 <tr>
296 <td><strike>adaptivesharpen</strike></td>
297
298 <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>
299 <td>adaptively sharpen the image with a Gaussian operator of the given radius and standard deviation (sigma). Increase the effect near edges.</td>
300 </tr>
301
302 <tr>
303 <td><strike>adaptivethreshold</strike></td>
304 <td>geometry="geometry", width="integer", height="integer", offset="integer"</td>
305 <td>local adaptive thresholding.</td>
306
307 </tr>
308
309 <tr>
310 <td><strike>addnoise</strike></td>
311 <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>
312 <td>add noise to an image</td>
313
314 </tr>
315
316 <tr>
317 <td><strike>affinetransform</strike></td>
318 <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>
319
320 <td>affine transform image</td>
321 </tr>
322
323 <tr>
324 <td><strike>affinity</strike></td>
325 <td>image="image-handle", method="None, FloydSteinberg, Riemersma"</td>
326
327 <td>choose a particular set of colors from this image</td>
328 </tr>
329
330 <tr>
331 <td>&lt;annotate&gt;</td>
332 <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>
333
334 <td>annotate an image with text. See QueryFontMetrics to get font metrics without rendering any text.</td>
335 </tr>
336
337 <tr>
338 <td><strike>autogamma</strike></td>
339 <td>channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
340
341 <td>automagically adjust gamma level of image</td>
342 </tr>
343
344 <tr>
345 <td><strike>autolevel</strike></td>
346 <td>channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
347 <td>automagically adjust color levels of image</td>
348
349 </tr>
350
351 <tr>
352 <td>autoorient</td>
353 <td> </td>
354 <td>adjusts an image so that its orientation is suitable for viewing (i.e. top-left orientation)</td>
355 </tr>
356
357 <tr>
358
359 <td><strike>blackthreshold</strike></td>
360 <td>threshold="string", , channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
361 <td>force all pixels below the threshold intensity into black</td>
362 </tr>
363
364 <tr>
365
366 <td><strike>blueshift</strike></td>
367 <td>factor="double",</td>
368 <td>simulate a scene at nighttime in the moonlight. Start with a factor of 1.5.</td>
369 </tr>
370
371 <tr>
372 <td>&lt;blur&gt;</td>
373
374 <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>
375 <td>reduce image noise and reduce detail levels with a Gaussian operator of the given radius and standard deviation (sigma).</td>
376 </tr>
377
378 <tr>
379 <td>&lt;border&gt;</td>
380 <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>
381
382 <td>surround the image with a border of color</td>
383 </tr>
384
385 <tr>
386 <td>&lt;charcoal&gt;</td>
387 <td>geometry="geometry", radius="double", sigma="double"</td>
388
389 <td>simulate a charcoal drawing</td>
390 </tr>
391
392 <tr>
393 <td>&lt;chop&gt;</td>
394 <td>geometry="geometry", width="integer", height="integer", x="integer", y="integer"</td>
395
396 <td>chop an image</td>
397 </tr>
398
399 <tr>
400 <td><strike>clamp</strike></td>
401 <td>channel="Red, RGB, All, etc."</td>
402 <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>
403
404 </tr>
405
406 <tr>
407 <td><strike>clip</strike></td>
408 <td>id="name", inside=""true, false"",</td>
409 <td>apply along a named path from the 8BIM profile.</td>
410
411 </tr>
412
413 <tr>
414 <td><strike>clipmask</strike></td>
415 <td>mask="image-handle"</td>
416 <td>clip image as defined by the image mask</td>
417 </tr>
418
419 <tr>
420 <td><strike>clut</strike></td>
421 <td>image="image-handle", interpolate="Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor", channel="Red, RGB, All, etc."</td>
422 <td>apply a color lookup table to an image sequence</td>
423 </tr>
424
425 <tr>
426 <td><strike>coalesce</strike></td>
427 <td> </td>
428 <td>merge a sequence of images</td>
429 </tr>
430
431 <tr>
432 <td><strike>color</strike></td>
433
434 <td>color="color name"</td>
435 <td>set the entire image to this color.</td>
436 </tr>
437
438 <tr>
439 <td><strike>colordecisionlist</strike></td>
440 <td>filename="string",</td>
441
442 <td>color correct with a color decision list.</td>
443 </tr>
444
445 <tr>
446 <td>&lt;colorize&gt;</td>
447 <td>fill="color name", blend="string"</td>
448
449 <td>colorize the image with the fill color</td>
450 </tr>
451
452 <tr>
453 <td><strike>colormatrix</strike></td>
454 <td>matrix="array of float values"</td>
455 <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>
456
457 </tr>
458
459 <tr>
460 <td>&lt;comment&gt;</td>
461 <td>string</td>
462 <td>add a comment to your image</td>
463 </tr>
464
465 <tr>
466 <td><strike>comparelayers</strike></td>
467 <td>method="any, clear, overlay"</td>
468 <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>
469 </tr>
470
471 <tr>
472
473 <td>&lt;composite&gt;</td>
474 <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>
475
476 <td>composite one image onto another. Use the rotate parameter in concert with the tile parameter.</td>
477 </tr>
478
479 <tr>
480 <td>&lt;contrast&gt;</td>
481 <td>sharpen="True, False"</td>
482 <td>enhance or reduce the image contrast</td>
483
484 </tr>
485
486 <tr>
487 <td><strike>contraststretch</strike></td>
488 <td>levels="string", 'black-point'="double", 'white-point'="double", channel="Red, RGB, All, etc."</td>
489
490 <td>improve the contrast in an image by `stretching' the range of intensity values</td>
491 </tr>
492
493 <tr>
494 <td><strike>convolve</strike></td>
495 <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>
496
497 <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>
498 </tr>
499
500 <tr>
501 <td>&lt;crop&gt;</td>
502
503 <td>geometry="geometry", width="integer", height="integer", x="integer", y="integer", fuzz="double", gravity="NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast"</td>
504 <td>crop an image</td>
505
506 </tr>
507
508 <tr>
509 <td><strike>cyclecolormap</strike></td>
510 <td>amount="integer"</td>
511 <td>displace image colormap by amount</td>
512 </tr>
513
514 <tr>
515 <td><strike>decipher</strike></td>
516 <td>passphrase="string"</td>
517 <td>convert cipher pixels to plain pixels</td>
518 </tr>
519
520 <tr>
521
522 <td><strike>deconstruct</strike></td>
523 <td> </td>
524 <td>break down an image sequence into constituent parts</td>
525 </tr>
526
527 <tr>
528 <td><strike>deskew</strike></td>
529 <td>geometry="string",threshold="double"</td>
530
531 <td>straighten the image</td>
532 </tr>
533
534 <tr>
535 <td>&lt;despeckle&gt;</td>
536 <td> </td>
537 <td>reduce the speckles within an image</td>
538 </tr>
539
540 <tr>
541 <td><strike>difference</strike></td>
542 <td>image="image-handle"</td>
543 <td>compute the difference metrics between two images </td>
544 </tr>
545
546 <tr>
547
548 <td><strike>distort</strike></td>
549 <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>
550 <td>distort image</td>
551 </tr>
552
553 <tr>
554 <td>&lt;draw&gt;</td>
555 <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>
556
557 <td>annotate an image with one or more graphic primitives.</td>
558 </tr>
559
560 <tr>
561 <td><strike>encipher</strike></td>
562 <td>passphrase="string"</td>
563 <td>convert plain pixels to cipher pixels</td>
564
565 </tr>
566
567 <tr>
568 <td>&lt;edge&gt;</td>
569 <td>radius="double"</td>
570 <td>enhance edges within the image with a convolution filter of the given radius.</td>
571 </tr>
572
573 <tr>
574 <td>&lt;emboss&gt;</td>
575 <td>geometry="geometry", radius="double", sigma="double"</td>
576 <td>emboss the image with a convolution filter of the given radius and standard deviation (sigma).</td>
577
578 </tr>
579
580 <tr>
581 <td>&lt;enhance&gt;</td>
582 <td> </td>
583 <td>apply a digital filter to enhance a noisy image</td>
584 </tr>
585
586 <tr>
587
588 <td>&lt;equalize&gt;</td>
589 <td>channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow" </td>
590 <td>perform histogram equalization to the image</td>
591 </tr>
592
593 <tr>
594 <td><strike>extent</strike></td>
595
596 <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>
597
598 <td>set the image size</td>
599 </tr>
600
601 <tr>
602 <td><strike>evaluate</strike></td>
603 <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>
604
605 <td>apply an arithmetic, relational, or logical expression to the image</td>
606 </tr>
607
608 <tr>
609 <td><strike>filter</strike></td>
610 <td>kernel="string", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", bias="double"</td>
611
612 <td>apply a convolution kernel to the image.</td>
613 </tr>
614
615 <tr>
616 <td>&lt;flip&gt;</td>
617 <td> </td>
618 <td>reflect the image scanlines in the vertical direction</td>
619 </tr>
620
621 <tr>
622 <td>&lt;flop&gt;</td>
623 <td> </td>
624 <td>reflect the image scanlines in the horizontal direction</td>
625 </tr>
626
627 <tr>
628 <td><strike>floodfillpaint</strike></td>
629
630 <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>
631
632 <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>
633 </tr>
634
635 <tr>
636 <td><strike>forwardfouriertransform</strike></td>
637 <td>magnitude="True, False"</td>
638 <td>implements the forward discrete Fourier transform (DFT)</td>
639
640 </tr>
641
642 <tr>
643 <td>&lt;frame&gt;</td>
644 <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>
645
646 <td>surround the image with an ornamental border</td>
647 </tr>
648
649 <tr>
650 <td><strike>function</strike></td>
651 <td>parameters="array of float values", function="Sin", virtual-pixel="Background Black Constant Dither Edge Gray Mirror Random Tile Transparent White"</td>
652
653 <td>apply a function to the image</td>
654 </tr>
655
656 <tr>
657 <td>&lt;gamma&gt;</td>
658 <td>gamma="string", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
659
660 <td>gamma correct the image</td>
661 </tr>
662
663 <tr>
664 <td><strike>gaussianblur</strike></td>
665 <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>
666
667 <td>reduce image noise and reduce detail levels with a Gaussian operator of the given radius and standard deviation (sigma).</td>
668 </tr>
669
670 <tr>
671 <td><strike>getpixel</strike></td>
672 <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>
673
674 <td>get a single pixel. By default normalized pixel values are returned.</td>
675 </tr>
676
677 <tr>
678 <td><strike>getpixels</strike></td>
679 <td>geometry="geometry", width="integer", height="integer", x="integer", y="integer", map="string", normalize="true, false"</td>
680
681 <td>get image pixels as defined by the map (e.g. "RGB", "RGBA", etc.). By default non-normalized pixel values are returned.</td>
682 </tr>
683
684 <tr>
685 <td><strike>grayscale</strike></td>
686 <td>channel="Average, Brightness, Lightness, Rec601Luma, Rec601Luminance, Rec709Luma, Rec709Luminance, RMS"</td>
687 <td>convert image to grayscale</td>
688
689 </tr>
690
691 <tr>
692 <td><strike>haldclut</strike></td>
693 <td>image="image-handle", channel="Red, RGB, All, etc."</td>
694 <td>apply a Hald color lookup table to an image sequence</td>
695
696 </tr>
697
698 <tr>
699 <td><strike>identify</strike></td>
700 <td>file="file", features="distance", unique="True, False"</td>
701 <td>identify the attributes of an image</td>
702
703 </tr>
704
705 <tr>
706 <td>&lt;implode&gt;</td>
707 <td>amount="double", interpolate="undefined, average, bicubic, bilinear, mesh, nearest-neighbor, spline"</td>
708 <td>implode image pixels about the center</td>
709
710 </tr>
711
712 <tr>
713 <td><strike>inversediscretefouriertransform</strike></td>
714 <td>magnitude="True, False"</td>
715 <td>implements the inverse discrete Fourier transform (DFT)</td>
716 </tr>
717
718 <tr>
719 <td>&lt;label&gt;</td>
720 <td>string</td>
721 <td>assign a label to an image</td>
722 </tr>
723
724 <tr>
725
726 <td><strike>layers</strike></td>
727 <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>
728 <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>
729 </tr>
730
731 <tr>
732
733 <td>&lt;level&gt;</td>
734 <td>levels="string", 'black-point'="double", 'gamma'="double", 'white-point'="double", channel="Red, RGB, All, etc."</td>
735 <td>adjust the level of image contrast</td>
736
737 </tr>
738
739 <tr>
740 <td><strike>levelcolors</strike></td>
741 <td>invert=&gt;"True, False", 'black-point'="string", 'white-point'="string", channel="Red, RGB, All, etc."</td>
742
743 <td>level image with the given colors</td>
744 </tr>
745
746 <tr>
747 <td><strike>linearstretch</strike></td>
748 <td>levels="string", 'black-point'="double", 'white-point'="double"</td>
749
750 <td>linear with saturation stretch</td>
751 </tr>
752
753 <tr>
754 <td><strike>liquidresize</strike></td>
755 <td>geometry="geometry", width="integer", height="integer", delta-x="double", rigidity="double"</td>
756
757 <td>rescale image with seam-carving.</td>
758 </tr>
759
760 <tr>
761 <td>&lt;magnify&gt;</td>
762 <td> </td>
763 <td>double the size of the image with pixel art scaling</td>
764 </tr>
765
766 <tr>
767 <td><strike>mask</strike></td>
768 <td>mask="image-handle"</td>
769 <td>composite image pixels as defined by the mask</td>
770 </tr>
771
772 <tr>
773
774 <td><strike>mattefloodfill</strike></td>
775 <td>geometry="geometry", x="integer", y="integer" , matte="integer", bordercolor="color name", fuzz="double", invert="True, False"</td>
776
777 <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>
778 </tr>
779
780 <tr>
781 <td><strike>medianfilter</strike></td>
782 <td>geometry="geometry", width="integer", height="integer", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
783
784 <td>replace each pixel with the median intensity pixel of a neighborhood.</td>
785 </tr>
786
787 <tr>
788 <td>&lt;minify&gt;</td>
789 <td> </td>
790 <td>half the size of an image</td>
791 </tr>
792
793 <tr>
794 <td><strike>mode</strike></td>
795 <td>geometry="geometry", width="integer", height="integer", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
796 <td>make each pixel the "predominant color" of the neighborhood.</td>
797
798 </tr>
799
800 <tr>
801 <td>&lt;modulate&gt;</td>
802 <td>factor="geometry", brightness="double", saturation="double", hue="double", lightness="double", whiteness="double", blackness="double" </td>
803
804 <td>vary the brightness, saturation, and hue of an image by the specified percentage</td>
805 </tr>
806
807 <tr>
808 <td><strike>morphology</strike></td>
809 <td>kernel="string", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", iterations="integer"</td>
810
811 <td>apply a morphology method to the image.</td>
812 </tr>
813
814 <tr>
815 <td><strike>motionblur</strike></td>
816 <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>
817
818 <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>
819 </tr>
820
821 <tr>
822 <td>&lt;negate&gt;</td>
823 <td>gray="True, False", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
824 <td>replace each pixel with its complementary color (white becomes black, yellow becomes blue, etc.)</td>
825
826 </tr>
827
828 <tr>
829 <td>&lt;normalize&gt;</td>
830 <td>channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow" </td>
831 <td>transform image to span the full range of color values</td>
832 </tr>
833
834 <tr>
835 <td><strike>oilpaint</strike></td>
836 <td>radius="integer"</td>
837 <td>simulate an oil painting</td>
838 </tr>
839
840 <tr>
841
842 <td>&lt;opaque&gt;</td>
843 <td>color="color name",
844 fill="color name", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow", invert="True, False"</td>
845 <td>change this color to the fill color within the image</td>
846 </tr>
847
848 <tr>
849 <td><strike>ordereddither</strike></td>
850 <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>
851 <td>order dither image</td>
852 </tr>
853
854 <tr>
855 <td><strike>perceptible</strike></td>
856 <td>epsilon="double", channel="Red, RGB, All, etc."</td>
857 <td>set each pixel whose value is less than |"epsilon"| to "-epsilon" or "epsilon" (whichever is closer) otherwise the pixel value remains unchanged..</td>
858
859 </tr>
860
861 <tr>
862 <td><strike>polaroid</strike></td>
863 <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>
864
865 <td>simulate a Polaroid picture.</td>
866 </tr>
867
868 <tr>
869 <td><strike>posterize</strike></td>
870 <td>levels="integer", dither="True, False"</td>
871
872 <td>reduce the image to a limited number of color level</td>
873 </tr>
874
875 <tr>
876 <td>&lt;profile&gt;</td>
877 <td>name="string", profile="blob", rendering-intent="Undefined, Saturation, Perceptual, Absolute, Relative", black-point-compensation="True, False"</td>
878
879 <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>
880 </tr>
881
882 <tr>
883 <td>&lt;quantize&gt;</td>
884 <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>
885
886 <td>preferred number of colors in the image</td>
887 </tr>
888
889 <tr>
890 <td><strike>radialblur</strike></td>
891 <td>geometry="geometry", angle="double", bias="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
892
893 <td>radial blur the image.</td>
894 </tr>
895
896 <tr>
897 <td>&lt;raise&gt;</td>
898 <td>geometry="geometry", width="integer", height="integer", x="integer", y="integer", raise="True, False"</td>
899
900 <td>lighten or darken image edges to create a 3-D effect</td>
901 </tr>
902
903 <tr>
904 <td><strike>reducenoise</strike></td>
905 <td>geometry="geometry", width="integer", height="integer", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
906
907 <td>reduce noise in the image with a noise peak elimination filter</td>
908 </tr>
909
910 <tr>
911 <td><strike>remap</strike></td>
912 <td>image="image-handle", dither="true, false", dither-method="Riemersma, Floyd-Steinberg"</td>
913
914 <td>replace the colors of an image with the closest color from a reference image.</td>
915 </tr>
916
917 <tr>
918 <td>&lt;resample&gt;</td>
919 <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>
920
921 <td>resample image to desired resolution. Specify blur &gt; 1 for blurry or &lt; 1 for sharp</td>
922 </tr>
923
924 <tr>
925 <td>&lt;resize&gt;</td>
926
927 <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>
928 <td>scale image to desired size. Specify blur &gt; 1 for blurry or &lt; 1 for sharp</td>
929
930 </tr>
931
932 <tr>
933 <td>&lt;roll&gt;</td>
934 <td>geometry="geometry", x="integer", y="integer"</td>
935 <td>roll an image vertically or horizontally</td>
936
937 </tr>
938
939 <tr>
940 <td>&lt;rotate&gt;</td>
941 <td>degrees="double", background="color name"</td>
942 <td>rotate an image</td>
943
944 </tr>
945
946 <tr>
947 <td>&lt;sample&gt;</td>
948 <td>geometry="geometry", width="integer", height="integer"</td>
949 <td>scale image with pixel sampling.</td>
950
951 </tr>
952
953 <tr>
954 <td>&lt;scale&gt;</td>
955 <td>geometry="geometry", width="integer", height="integer"</td>
956 <td>scale image to desired size</td>
957
958 </tr>
959
960 <tr>
961 <td>&lt;segment&gt;</td>
962 <td>colorspace="RGB, Gray, Transparent, OHTA, XYZ, YCbCr, YCC, YIQ, YPbPr, YUV, CMYK", verbose="True, False", cluster-threshold="double", smoothing-threshold="double"</td>
963 <td>segment an image by analyzing the histograms of the color components and identifying units that are homogeneous</td>
964
965 </tr>
966
967 <tr>
968 <td><strike>selectiveblur</strike></td>
969 <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>
970
971 <td>selectively blur pixels within a contrast threshold.</td>
972 </tr>
973 <tr>
974 <td><strike>separate</strike></td>
975 <td>channel="Red, RGB, All, etc."</td>
976 <td>separate a channel from the image into a grayscale image</td>
977
978 </tr>
979
980 <tr>
981 <td>&lt;shade&gt;</td>
982 <td>geometry="geometry", azimuth="double", elevation="double", gray="true, false"</td>
983
984 <td>shade the image using a distant light source</td>
985 </tr>
986
987 <tr>
988 <td><strike>setpixel</strike></td>
989 <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>
990
991 <td>set a single pixel. By default normalized pixel values are expected.</td>
992 </tr>
993
994 <tr>
995 <td>&lt;shadow&gt;</td>
996 <td>geometry="geometry", opacity="double", sigma="double", x="integer", y="integer"</td>
997
998 <td>simulate an image shadow</td>
999 </tr>
1000
1001 <tr>
1002 <td>&lt;sharpen&gt;</td>
1003 <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>
1004
1005 <td>sharpen the image with a Gaussian operator of the given radius and standard deviation (sigma).</td>
1006 </tr>
1007
1008 <tr>
1009 <td>&lt;shave&gt;</td>
1010 <td>geometry="geometry", width="integer", height="integer"</td>
1011
1012 <td>shave pixels from the image edges</td>
1013 </tr>
1014
1015 <tr>
1016 <td>&lt;shear&gt;</td>
1017 <td>geometry="geometry", x="double", y="double" fill="color name"</td>
1018
1019 <td>shear the image along the X or Y axis by a positive or negative shear angle</td>
1020 </tr>
1021
1022 <tr>
1023 <td><strike>sigmoidalcontrast</strike></td>
1024 <td>geometry="string", 'contrast'="double", 'mid-point'="double" channel="Red, RGB, All, etc.", sharpen="True, False"</td>
1025
1026 <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>
1027 </tr>
1028
1029 <tr>
1030 <td>&lt;signature&gt;</td>
1031
1032 <td> </td>
1033 <td>generate an SHA-256 message digest for the image pixel stream</td>
1034 </tr>
1035
1036 <tr>
1037 <td><strike>sketch</strike></td>
1038 <td>geometry="geometry", radius="double", sigma="double", angle="double"</td>
1039
1040 <td>sketch the image with a Gaussian operator of the given radius and standard deviation (sigma) at the given angle</td>
1041 </tr>
1042
1043 <tr>
1044 <td>&lt;solarize&gt;</td>
1045 <td>geometry="string", threshold="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
1046
1047 <td>negate all pixels above the threshold level</td>
1048 </tr>
1049
1050 <tr>
1051 <td><strike>sparsecolor</strike></td>
1052 <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>
1053
1054 <td>interpolate the image colors around the supplied points</td>
1055 </tr>
1056
1057 <tr>
1058 <td><strike>splice</strike></td>
1059 <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>
1060
1061 <td>splice an image</td>
1062 </tr>
1063
1064 <tr>
1065 <td>&lt;spread&gt;</td>
1066 <td>radius="double", interpolate="undefined, average, bicubic, bilinear, mesh, nearest-neighbor, spline"</td>
1067
1068 <td>displace image pixels by a random amount</td>
1069 </tr>
1070
1071 <tr>
1072 <td><strike>statistic</strike></td>
1073 <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>
1074
1075 <td>replace each pixel with corresponding statistic from the neighborhood.</td>
1076 </tr>
1077 <tr>
1078 <td>&lt;stegano&gt;</td>
1079 <td>image="image-handle", offset="integer"</td>
1080 <td>hide a digital watermark within the image</td>
1081
1082 </tr>
1083
1084 <tr>
1085 <td>&lt;stereo&gt;</td>
1086 <td>image="image-handle", x="integer", y="integer"</td>
1087 <td>composites two images and produces a single image that is the composite of a left and right image of a stereo pair</td>
1088
1089 </tr>
1090
1091 <tr>
1092 <td>&lt;strip&gt;</td>
1093 <td> </td>
1094 <td>strip an image of all profiles and comments.</td>
1095 </tr>
1096
1097 <tr>
1098
1099 <td>&lt;swirl&gt;</td>
1100 <td>degrees="double", interpolate="undefined, average, bicubic, bilinear, mesh, nearest-neighbor, spline"</td>
1101 <td>swirl image pixels about the center</td>
1102 </tr>
1103
1104 <tr>
1105
1106 <td><strike>texture</strike></td>
1107 <td>texture="image-handle"</td>
1108 <td>name of texture to tile onto the image background</td>
1109 </tr>
1110
1111 <tr>
1112 <td><strike>thumbnail</strike></td>
1113
1114 <td>geometry="geometry", width="integer", height="integer"</td>
1115 <td>changes the size of an image to the given dimensions and removes any associated profiles.</td>
1116 </tr>
1117
1118 <tr>
1119 <td>&lt;threshold&gt;</td>
1120
1121 <td>threshold="string", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
1122 <td>threshold the image</td>
1123 </tr>
1124
1125 <tr>
1126 <td><strike>tint</strike></td>
1127
1128 <td>fill="color name", blend="string"</td>
1129 <td>tint the image with the fill color.</td>
1130 </tr>
1131
1132 <tr>
1133 <td>&lt;transparent&gt;</td>
1134
1135 <td>color="color name", invert="True, False"</td>
1136 <td>make this color transparent within the image</td>
1137 </tr>
1138
1139 <tr>
1140 <td><strike>transpose</strike></td>
1141
1142 <td> </td>
1143 <td>flip image in the vertical direction and rotate 90 degrees</td>
1144 </tr>
1145
1146 <tr>
1147 <td><strike>transverse</strike></td>
1148 <td> </td>
1149 <td>flop image in the horizontal direction and rotate 270 degrees</td>
1150
1151 </tr>
1152
1153 <tr>
1154 <td>&lt;trim&gt;</td>
1155 <td> </td>
1156 <td>remove edges that are the background color from the image</td>
1157 </tr>
1158
1159 <tr>
1160
1161 <td><strike>unsharpmask</strike></td>
1162 <td>geometry="geometry", radius="double", sigma="double", gain="double", threshold="double"</td>
1163 <td>sharpen the image with the unsharp mask algorithm.</td>
1164
1165 </tr>
1166
1167 <tr>
1168 <td><strike>vignette</strike></td>
1169 <td>geometry="geometry", radius="double", sigma="double", x="integer", y="integer", background="color name"</td>
1170
1171 <td>offset the edges of the image in vignette style</td>
1172 </tr>
1173
1174 <tr>
1175 <td><strike>wave</strike></td>
1176 <td>geometry="geometry", amplitude="double", wavelength="double", interpolate="undefined, average, bicubic, bilinear, mesh, nearest-neighbor, spline"</td>
1177
1178 <td>alter an image along a sine wave</td>
1179 </tr>
1180
1181 <tr>
1182 <td><strike>whitethreshold</strike></td>
1183 <td>threshold="string", , channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
1184
1185 <td>force all pixels above the threshold intensity into white</td>
1186 </tr>
1187 </tbody>
1188 </table>
1189 </div>
1190 </main><!-- /.container -->
1191 <footer class="text-center pt-5 my-5 text-body-secondary border-top">
1192 <div class="container-fluid">
1193 <a href="security-policy.html">Security</a> •
1194 <a href="../www/news.html">News</a>
1195
1196 <a href="#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../images/wand.ico"/></a>
1197
1198 <a href="../www/links.html">Related</a> •
1199 <a href="../www/sitemap.html">Sitemap</a>
1200 <br/>
1201 <a href="../www/support.html">Sponsor</a> •
1202 <a href="cite.html">Cite</a> •
1203 <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
1204 <a href="../www/../www/../www/https://imagemagick.org/script/contact.php">Contact Us</a>
1205 <br/>
1206 <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> •
1207 <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>
1208 <br/>
1209 <small>Copyright © 1999 ImageMagick Studio LLC</small>
1210 </div>
1211 </footer>
1212 </div>
1213
1214 <!-- Javascript assets -->
1215 <script src="assets/bootstrap.bundle.min.js" ></script>
1216 </body>
1217 </html>
1218 <!-- Magick Cache 27th July 2025 09:39 -->