blob: dbdb44a42025e0a3b5ef2dea605794f5b372e59b [file] [log] [blame]
Cristy540ea6e2016-04-01 12:06:50 -04001
2
3
4
5<!DOCTYPE html>
6<html lang="en">
7<head>
8 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
Cristy776113a2016-04-29 12:01:19 -04009 <title>ImageMagick: Command-line Tools: Magick-script</title>
Cristy540ea6e2016-04-01 12:06:50 -040010 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
11 <meta name="application-name" content="ImageMagick"/>
12 <meta name="description" content="ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves."/>
13 <meta name="application-url" content="http://www.imagemagick.org"/>
14 <meta name="generator" content="PHP"/>
Cristy776113a2016-04-29 12:01:19 -040015 <meta name="keywords" content="command-line, tools:, magick-script, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/>
Cristy540ea6e2016-04-01 12:06:50 -040016 <meta name="rating" content="GENERAL"/>
17 <meta name="robots" content="INDEX, FOLLOW"/>
18 <meta name="generator" content="ImageMagick Studio LLC"/>
19 <meta name="author" content="ImageMagick Studio LLC"/>
20 <meta name="revisit-after" content="2 DAYS"/>
21 <meta name="resource-type" content="document"/>
22 <meta name="copyright" content="Copyright (c) 1999-2015 ImageMagick Studio LLC"/>
23 <meta name="distribution" content="Global"/>
24 <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/>
25 <link rel="icon" href="../images/wand.png"/>
26 <link rel="shortcut icon" href="../images/wand.ico"/>
27 <link rel="stylesheet" href="css/magick.css"/>
28</head>
29<body>
30<div class="main">
31<div class="magick-masthead">
32 <div class="container">
33 <script async="async" src="http://localhost/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle"
34 style="display:block"
35 data-ad-client="ca-pub-3129977114552745"
36 data-ad-slot="6345125851"
37 data-ad-format="auto"></ins>
38 <script>
39 (adsbygoogle = window.adsbygoogle || []).push({});
40 </script>
41 <nav class="magick-nav">
42 <a class="magick-nav-item " href="../index.html">Home</a>
43 <a class="magick-nav-item " href="binary-releases.html">Download</a>
44 <a class="magick-nav-item " href="command-line-tools.html">Tools</a>
45 <a class="magick-nav-item " href="command-line-processing.html">Command-line</a>
46 <a class="magick-nav-item " href="resources.html">Resources</a>
47 <a class="magick-nav-item " href="api.html">Develop</a>
Cristy776113a2016-04-29 12:01:19 -040048 <a class="magick-nav-item " href="http://nextgen.imagemagick.org/script/search.php">Search</a>
Cristy540ea6e2016-04-01 12:06:50 -040049 <a class="magick-nav-item pull-right" href="https://www.imagemagick.org/discourse-server/">Community</a>
50 </nav>
51 </div>
52</div>
53<div class="container">
54<div class="magick-header">
Cristy776113a2016-04-29 12:01:19 -040055<p class="lead magick-description">Use the <code>magick-script</code> scripting language to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>convert</code> command or see below for example usages of the command.</p>
Cristy540ea6e2016-04-01 12:06:50 -040056
Cristy776113a2016-04-29 12:01:19 -040057<p>Here is an example script:</p>
Cristy540ea6e2016-04-01 12:06:50 -040058
Cristy776113a2016-04-29 12:01:19 -040059<pre class="code">
60 #!/bin/env magick-script
61 -size 100x100 xc:red ( rose: -rotate -90 ) +append -write show:
Cristy540ea6e2016-04-01 12:06:50 -040062</pre>
63
Cristy540ea6e2016-04-01 12:06:50 -040064
Cristy776113a2016-04-29 12:01:19 -040065<p>You can find additional examples of using <code>magick-script</code> in <a href="http://www.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
Cristy540ea6e2016-04-01 12:06:50 -040066
67<h2 class="magick-header"><a id="options"></a>Option Summary</h2>
68
69<p>The <code>magick</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
70
71<div class="table-responsive">
72<table class="table table-condensed table-striped">
73 <tr>
74 <td><a href="command-line-options.html#adaptive-blur">-adaptive-blur <var>geometry</var></a></td>
75 <td>adaptively blur pixels; decrease effect near edges</td>
76 </tr>
77
78 <tr>
79 <td><a href="command-line-options.html#adaptive-resize">-adaptive-resize <var>geometry</var></a></td>
80 <td>adaptively resize image with data dependent triangulation.</td>
81 </tr>
82
83 <tr>
84 <td><a href="command-line-options.html#adaptive-sharpen">-adaptive-sharpen <var>geometry</var></a></td>
85 <td>adaptively sharpen pixels; increase effect near edges</td>
86 </tr>
87
88 <tr>
89 <td><a href="command-line-options.html#adjoin">-adjoin</a></td>
90 <td>join images into a single multi-image file</td>
91 </tr>
92
93 <tr>
94 <td><a href="command-line-options.html#affine">-affine <var>matrix</var></a></td>
95 <td>affine transform matrix</td>
96 </tr>
97
98 <tr>
99 <td><a href="command-line-options.html#alpha">-alpha</a></td>
100 <td>on, activate, off, deactivate, set, opaque, copy",
101transparent, extract, background, or shape the alpha channel</td>
102 </tr>
103
104 <tr>
105 <td><a href="command-line-options.html#annotate">-annotate <var>geometry text</var></a></td>
106 <td>annotate the image with text</td>
107 </tr>
108
109 <tr>
110 <td><a href="command-line-options.html#antialias">-antialias</a></td>
111 <td>remove pixel-aliasing</td>
112 </tr>
113
114 <tr>
115 <td><a href="command-line-options.html#append">-append</a></td>
116 <td>append an image sequence</td>
117 </tr>
118
119 <tr>
120 <td><a href="command-line-options.html#authenticate">-authenticate <var>value</var></a></td>
121 <td>decipher image with this password</td>
122 </tr>
123
124 <tr>
125 <td><a href="command-line-options.html#auto-gamma">-auto-gamma</a></td>
126 <td>automagically adjust gamma level of image</td>
127 </tr>
128
129 <tr>
130 <td><a href="command-line-options.html#auto-level">-auto-level</a></td>
131 <td>automagically adjust color levels of image</td>
132 </tr>
133
134 <tr>
135 <td><a href="command-line-options.html#auto-orient">-auto-orient</a></td>
136 <td>automagically orient image</td>
137 </tr>
138
139 <tr>
140 <td><a href="command-line-options.html#background">-background <var>color</var></a></td>
141 <td>background color</td>
142 </tr>
143
144 <tr>
145 <td><a href="command-line-options.html#bench">-bench <var>iterations</var></a></td>
146 <td>measure performance</td>
147 </tr>
148
149 <tr>
150 <td><a href="command-line-options.html#bias">-bias <var>value</var></a></td>
151 <td>add bias when convolving an image</td>
152 </tr>
153
154 <tr>
155 <td><a href="command-line-options.html#black-threshold">-black-threshold <var>value</var></a></td>
156 <td>force all pixels below the threshold into black</td>
157 </tr>
158
159 <tr>
160 <td><a href="command-line-options.html#blue-primary">-blue-primary <var>point</var></a></td>
161 <td>chromaticity blue primary point</td>
162 </tr>
163
164 <tr>
165 <td><a href="command-line-options.html#blue-shift">-blue-shift <var>factor</var></a></td>
166 <td>simulate a scene at nighttime in the moonlight</td>
167 </tr>
168
169 <tr>
170 <td><a href="command-line-options.html#blur">-blur <var>geometry</var></a></td>
171 <td>reduce image noise and reduce detail levels</td>
172 </tr>
173
174 <tr>
175 <td><a href="command-line-options.html#border">-border <var>geometry</var></a></td>
176 <td>surround image with a border of color</td>
177 </tr>
178
179 <tr>
180 <td><a href="command-line-options.html#bordercolor">-bordercolor <var>color</var></a></td>
181 <td>border color</td>
182 </tr>
183
184 <tr>
185 <td><a href="command-line-options.html#brightness-contrast">-brightness-contrast <var>geometry</var></a></td>
186 <td>improve brightness / contrast of the image</td>
187 </tr>
188
189 <tr>
190 <td><a href="command-line-options.html#canny">-canny <var>geometry</var></a></td>
191 <td>use a multi-stage algorithm to detect a wide range of edges in the image</td>
192 </tr>
193
194 <tr>
195 <td><a href="command-line-options.html#caption">-caption <var>string</var></a></td>
196 <td>assign a caption to an image</td>
197 </tr>
198
199 <tr>
200 <td><a href="command-line-options.html#cdl">-cdl <var>filename</var></a></td>
201 <td>color correct with a color decision list</td>
202 </tr>
203
204 <tr>
205 <td><a href="command-line-options.html#channel">-channel <var>type</var></a></td>
206 <td>apply option to select image channels</td>
207 </tr>
208
209 <tr>
210 <td><a href="command-line-options.html#charcoal">-charcoal <var>radius</var></a></td>
211 <td>simulate a charcoal drawing</td>
212 </tr>
213
214 <tr>
215 <td><a href="command-line-options.html#chop">-chop <var>geometry</var></a></td>
216 <td>remove pixels from the image interior</td>
217 </tr>
218
219 <tr>
220 <td><a href="command-line-options.html#clamp">-clamp</a></td>
221 <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>
222 </tr>
223
224 <tr>
225 <td><a href="command-line-options.html#clip">-clip</a></td>
226 <td>clip along the first path from the 8BIM profile</td>
227 </tr>
228
229 <tr>
230 <td><a href="command-line-options.html#clip-mask">-clip-mask</a> <var>filename</var></td>
231 <td>associate clip mask with the image</td>
232 </tr>
233
234 <tr>
235 <td><a href="command-line-options.html#clip-path">-clip-path <var>id</var></a></td>
236 <td>clip along a named path from the 8BIM profile</td>
237 </tr>
238
239 <tr>
240 <td><a href="command-line-options.html#clone">-clone <var>index</var></a></td>
241 <td>clone an image</td>
242 </tr>
243
244 <tr>
245 <td><a href="command-line-options.html#clut">-clut</a></td>
246 <td>apply a color lookup table to the image</td>
247 </tr>
248
249 <tr>
250 <td><a href="command-line-options.html#connected-components">-connected-components <var>connectivity</var></a></td>
251 <td>connected-components uniquely labeled, choose from 4 or 8 way connectivity</td>
252 </tr>
253
254 <tr>
255 <td><a href="command-line-options.html#contrast-stretch">-contrast-stretch <var>geometry</var></a></td>
256 <td>improve the contrast in an image by `stretching' the range of intensity value</td>
257 </tr>
258
259 <tr>
260 <td><a href="command-line-options.html#coalesce">-coalesce</a></td>
261 <td>merge a sequence of images</td>
262 </tr>
263
264 <tr>
265 <td><a href="command-line-options.html#colorize">-colorize <var>value</var></a></td>
266 <td>colorize the image with the fill color</td>
267 </tr>
268
269 <tr>
270 <td><a href="command-line-options.html#color-matrix">-color-matrix <var>matrix</var></a></td>
271 <td>apply color correction to the image.</td>
272 </tr>
273
274 <tr>
275 <td><a href="command-line-options.html#colors">-colors <var>value</var></a></td>
276 <td>preferred number of colors in the image</td>
277 </tr>
278
279 <tr>
280 <td><a href="command-line-options.html#colorspace">-colorspace <var>type</var></a></td>
281 <td>set image colorspace</td>
282 </tr>
283
284 <tr>
285 <td><a href="command-line-options.html#combine">-combine</a></td>
286 <td>combine a sequence of images</td>
287 </tr>
288
289 <tr>
290 <td><a href="command-line-options.html#comment">-comment <var>string</var></a></td>
291 <td>annotate image with comment</td>
292 </tr>
293
294 <tr>
295 <td><a href="command-line-options.html#compare">-compare</a></td>
296 <td>compare image</td>
297 </tr>
298
299 <tr>
300 <td><a href="command-line-options.html#complex">-complex<var>operator</var></a></td>
301 <td>perform complex mathematics on an image sequence</td>
302 </tr>
303
304 <tr>
305 <td><a href="command-line-options.html#compose">-compose <var>operator</var></a></td>
306 <td>set image composite operator</td>
307 </tr>
308
309 <tr>
310 <td><a href="command-line-options.html#composite">-composite</a></td>
311 <td>composite image</td>
312 </tr>
313
314 <tr>
315 <td><a href="command-line-options.html#compress">-compress <var>type</var></a></td>
316 <td>image compression type</td>
317 </tr>
318
319 <tr>
320 <td><a href="command-line-options.html#contrast">-contrast</a></td>
321 <td>enhance or reduce the image contrast</td>
322 </tr>
323
324 <tr>
325 <td><a href="command-line-options.html#convolve">-convolve <var>coefficients</var></a></td>
326 <td>apply a convolution kernel to the image</td>
327 </tr>
328
329 <tr>
330 <td><a href="command-line-options.html#copy">-copy <var>geometry</var> <var>offset</var></a></td>
331 <td>copy pixels from one area of an image to another</td>
332 </tr>
333
334 <tr>
335 <td><a href="command-line-options.html#crop">-crop <var>geometry</var></a></td>
336 <td>crop the image</td>
337 </tr>
338
339 <tr>
340 <td><a href="command-line-options.html#cycle">-cycle <var>amount</var></a></td>
341 <td>cycle the image colormap</td>
342 </tr>
343
344 <tr>
345 <td><a href="command-line-options.html#decipher">-decipher <var>filename</var></a></td>
346 <td>convert cipher pixels to plain</td>
347 </tr>
348
349 <tr>
350 <td><a href="command-line-options.html#debug">-debug <var>events</var></a></td>
351 <td>display copious debugging information</td>
352 </tr>
353
354 <tr>
355 <td><a href="command-line-options.html#define">-define <var>format:option</var></a></td>
356 <td>define one or more image format options</td>
357 </tr>
358
359 <tr>
360 <td><a href="command-line-options.html#deconstruct">-deconstruct</a></td>
361 <td>break down an image sequence into constituent parts</td>
362 </tr>
363
364 <tr>
365 <td><a href="command-line-options.html#delay">-delay <var>value</var></a></td>
366 <td>display the next image after pausing</td>
367 </tr>
368
369 <tr>
370 <td><a href="command-line-options.html#delete">-delete <var>index</var></a></td>
371 <td>delete the image from the image sequence</td>
372 </tr>
373
374 <tr>
375 <td><a href="command-line-options.html#density">-density <var>geometry</var></a></td>
376 <td>horizontal and vertical density of the image</td>
377 </tr>
378
379 <tr>
380 <td><a href="command-line-options.html#depth">-depth <var>value</var></a></td>
381 <td>image depth</td>
382 </tr>
383
384 <tr>
385 <td><a href="command-line-options.html#despeckle">-despeckle</a></td>
386 <td>reduce the speckles within an image</td>
387 </tr>
388
389 <tr>
390 <td><a href="command-line-options.html#direction">-direction <var>type</var></a></td>
391 <td>render text right-to-left or left-to-right</td>
392 </tr>
393
394 <tr>
395 <td><a href="command-line-options.html#display">-display <var>server</var></a></td>
396 <td>get image or font from this X server</td>
397 </tr>
398
399 <tr>
400 <td><a href="command-line-options.html#dispose">-dispose <var>method</var></a></td>
401 <td>layer disposal method</td>
402 </tr>
403
404 <tr>
405 <td><a href="command-line-options.html#distribute-cache">-distribute-cache <var>port</var></a></td>
406 <td>launch a distributed pixel cache server</td>
407 </tr>
408
409 <tr>
410 <td><a href="command-line-options.html#distort">-distort <var>type coefficients</var></a></td>
411 <td>distort image</td>
412 </tr>
413
414 <tr>
415 <td><a href="command-line-options.html#dither">-dither <var>method</var></a></td>
416 <td>apply error diffusion to image</td>
417 </tr>
418
419 <tr>
420 <td><a href="command-line-options.html#draw">-draw <var>string</var></a></td>
421 <td>annotate the image with a graphic primitive</td>
422 </tr>
423
424 <tr>
425 <td><a href="command-line-options.html#duplicate">-duplicate <var>count,indexes</var></a></td>
426 <td>duplicate an image one or more times</td>
427 </tr>
428
429 <tr>
430 <td><a href="command-line-options.html#edge">-edge <var>radius</var></a></td>
431 <td>apply a filter to detect edges in the image</td>
432 </tr>
433
434 <tr>
435 <td><a href="command-line-options.html#emboss">-emboss <var>radius</var></a></td>
436 <td>emboss an image</td>
437 </tr>
438
439 <tr>
440 <td><a href="command-line-options.html#encipher">-encipher <var>filename</var></a></td>
441 <td>convert plain pixels to cipher pixels</td>
442 </tr>
443
444 <tr>
445 <td><a href="command-line-options.html#encoding">-encoding <var>type</var></a></td>
446 <td>text encoding type</td>
447 </tr>
448
449 <tr>
450 <td><a href="command-line-options.html#endian">-endian <var>type</var></a></td>
451 <td>endianness (MSB or LSB) of the image</td>
452 </tr>
453
454 <tr>
455 <td><a href="command-line-options.html#enhance">-enhance</a></td>
456 <td>apply a digital filter to enhance a noisy image</td>
457 </tr>
458
459 <tr>
460 <td><a href="command-line-options.html#equalize">-equalize</a></td>
461 <td>perform histogram equalization to an image</td>
462 </tr>
463
464 <tr>
465 <td><a href="command-line-options.html#evaluate">-evaluate <var>operator value</var></a></td>
466 <td>evaluate an arithmetic, relational, or logical expression</td>
467 </tr>
468
469 <tr>
470 <td><a href="command-line-options.html#evaluate-sequence">-evaluate-sequence <var>operator</var></a></td>
471 <td>evaluate an arithmetic, relational, or logical expression for an image sequence</td>
472 </tr>
473
474 <tr>
475 <td><a href="command-line-options.html#extent">-extent <var>geometry</var></a></td>
476 <td>set the image size</td>
477 </tr>
478
479 <tr>
480 <td><a href="command-line-options.html#extract">-extract <var>geometry</var></a></td>
481 <td>extract area from image</td>
482 </tr>
483
484 <tr>
485 <td><a href="command-line-options.html#family">-family <var>name</var></a></td>
486 <td>render text with this font family</td>
487 </tr>
488
489 <tr>
490 <td><a href="command-line-options.html#features">-features <var>distance</var></a></td>
491 <td>analyze image features (e.g. contract, correlations, etc.).</td>
492 </tr>
493
494 <tr>
495 <td><a href="command-line-options.html#fft">-fft</a></td>
496 <td>implements the discrete Fourier transform (DFT)</td>
497 </tr>
498
499 <tr>
500 <td><a href="command-line-options.html#fill">-fill <var>color</var></a></td>
501 <td>color to use when filling a graphic primitive</td>
502 </tr>
503
504 <tr>
505 <td><a href="command-line-options.html#filter">-filter <var>type</var></a></td>
506 <td>use this filter when resizing an image</td>
507 </tr>
508
509 <tr>
510 <td><a href="command-line-options.html#flatten">-flatten</a></td>
511 <td>flatten a sequence of images</td>
512 </tr>
513
514 <tr>
515 <td><a href="command-line-options.html#flip">-flip</a></td>
516 <td>flip image in the vertical direction</td>
517 </tr>
518
519 <tr>
520 <td><a href="command-line-options.html#floodfill">-floodfill <var>geometry color</var></a></td>
521 <td>floodfill the image with color</td>
522 </tr>
523
524 <tr>
525 <td><a href="command-line-options.html#flop">-flop</a></td>
526 <td>flop image in the horizontal direction</td>
527 </tr>
528
529 <tr>
530 <td><a href="command-line-options.html#font">-font <var>name</var></a></td>
531 <td>render text with this font</td>
532 </tr>
533
534 <tr>
535 <td><a href="command-line-options.html#format_identify_">-format <var>string</var></a></td>
536 <td>output formatted image characteristics</td>
537 </tr>
538
539 <tr>
540 <td><a href="command-line-options.html#frame">-frame <var>geometry</var></a></td>
541 <td>surround image with an ornamental border</td>
542 </tr>
543
544 <tr>
545 <td><a href="command-line-options.html#function">-function <var>name</var></a></td>
546 <td>apply a function to the image</td>
547 </tr>
548
549 <tr>
550 <td><a href="command-line-options.html#fuzz">-fuzz <var>distance</var></a></td>
551 <td>colors within this distance are considered equal</td>
552 </tr>
553
554 <tr>
555 <td><a href="command-line-options.html#fx">-fx <var>expression</var></a></td>
556 <td>apply mathematical expression to an image channel(s)</td>
557 </tr>
558
559 <tr>
560 <td><a href="command-line-options.html#gamma">-gamma <var>value</var></a></td>
561 <td>level of gamma correction</td>
562 </tr>
563
564 <tr>
565 <td><a href="command-line-options.html#gaussian-blur">-gaussian-blur <var>geometry</var></a></td>
566 <td>reduce image noise and reduce detail levels</td>
567 </tr>
568
569 <tr>
570 <td><a href="command-line-options.html#geometry">-geometry <var>geometry</var></a></td>
571 <td>preferred size or location of the image</td>
572 </tr>
573
574 <tr>
575 <td><a href="command-line-options.html#gravity">-gravity <var>type</var></a></td>
576 <td>horizontal and vertical text placement</td>
577 </tr>
578
579 <tr>
580 <td><a href="command-line-options.html#intensity">-grayscale <var>method</var></a></td>
581 <td>convert image to grayscale</td>
582 </tr>
583
584 <tr>
585 <td><a href="command-line-options.html#green-primary">-green-primary <var>point</var></a></td>
586 <td>chromaticity green primary point</td>
587 </tr>
588
589 <tr>
590 <td><a href="command-line-options.html#help">-help</a></td>
591 <td>print program options</td>
592 </tr>
593
594 <tr>
595 <td><a href="command-line-options.html#hough-lines">-hough-lines <var>geometry</var></a></td>
596 <td>identify lines in the image</td>
597 </tr>
598
599 <tr>
600 <td><a href="command-line-options.html#identify">-identify</a></td>
601 <td>identify the format and characteristics of the image</td>
602 </tr>
603
604 <tr>
605 <td><a href="command-line-options.html#ift">-ift</a></td>
606 <td>implements the inverse discrete Fourier transform (DFT)</td>
607 </tr>
608
609 <tr>
610 <td><a href="command-line-options.html#implode">-implode <var>amount</var></a></td>
611 <td>implode image pixels about the center</td>
612 </tr>
613
614 <tr>
615 <td><a href="command-line-options.html#insert">-insert <var>index</var></a></td>
616 <td>insert last image into the image sequence</td>
617 </tr>
618
619 <tr>
620 <td><a href="command-line-options.html#intensity">-intensity <var>method</var></a></td>
621 <td>method to generate an intensity value from a pixel</td>
622 </tr>
623
624 <tr>
625 <td><a href="command-line-options.html#intent">-intent <var>type</var></a></td>
626 <td>type of rendering intent when managing the image color</td>
627 </tr>
628
629 <tr>
630 <td><a href="command-line-options.html#interlace">-interlace <var>type</var></a></td>
631 <td>type of image interlacing scheme</td>
632 </tr>
633
634 <tr>
635 <td><a href="command-line-options.html#interline-spacing">-interline-spacing <var>value</var></a></td>
636 <td>the space between two text lines</td>
637 </tr>
638
639 <tr>
640 <td><a href="command-line-options.html#interpolate">-interpolate <var>method</var></a></td>
641 <td>pixel color interpolation method</td>
642 </tr>
643
644 <tr>
645 <td><a href="command-line-options.html#interword-spacing">-interword-spacing <var>value</var></a></td>
646 <td>the space between two words</td>
647 </tr>
648
649 <tr>
650 <td><a href="command-line-options.html#kerning">-kerning <var>value</var></a></td>
651 <td>the space between two characters</td>
652 </tr>
653
654 <tr>
655 <td><a href="command-line-options.html#kuwahara">-kuwahara <var>geometry</var></a></td>
656 <td>edge preserving noise reduction filter</td>
657 </tr>
658
659 <tr>
660 <td><a href="command-line-options.html#label">-label <var>string</var></a></td>
661 <td>assign a label to an image</td>
662 </tr>
663
664 <tr>
665 <td><a href="command-line-options.html#lat">-lat <var>geometry</var></a></td>
666 <td>local adaptive thresholding</td>
667 </tr>
668
669 <tr>
670 <td><a href="command-line-options.html#layers">-layers <var>method</var></a></td>
671 <td>optimize or compare image layers</td>
672 </tr>
673
674 <tr>
675 <td><a href="command-line-options.html#level">-level <var>value</var></a></td>
676 <td>adjust the level of image contrast</td>
677 </tr>
678
679 <tr>
680 <td><a href="command-line-options.html#limit">-limit <var>type value</var></a></td>
681 <td>pixel cache resource limit</td>
682 </tr>
683
684 <tr>
685 <td><a href="command-line-options.html#linear-stretch">-linear-stretch <var>geometry</var></a></td>
686 <td>linear with saturation histogram stretch</td>
687 </tr>
688
689 <tr>
690 <td><a href="command-line-options.html#liquid-rescale">-liquid-rescale <var>geometry</var></a></td>
691 <td>rescale image with seam-carving</td>
692 </tr>
693
694 <tr>
695 <td><a href="command-line-options.html#list">-list <var>type</var></a></td>
696 <td>Color, Configure, Delegate, Format, Magic, Module, Resource, or Type</td>
697 </tr>
698
699 <tr>
700 <td><a href="command-line-options.html#log">-log <var>format</var></a></td>
701 <td>format of debugging information</td>
702 </tr>
703
704 <tr>
705 <td><a href="command-line-options.html#loop">-loop <var>iterations</var></a></td>
706 <td>add Netscape loop extension to your GIF animation</td>
707 </tr>
708
709 <tr>
710 <td><a href="command-line-options.html#mask">-mask <var>filename</var></a></td>
711 <td>associate a mask with the image</td>
712 </tr>
713
714 <tr>
715 <td><a href="command-line-options.html#mattecolor">-mattecolor <var>color</var></a></td>
716 <td>frame color</td>
717 </tr>
718
719 <tr>
720 <td><a href="command-line-options.html#median">-median <var>radius</var></a></td>
721 <td>apply a median filter to the image</td>
722 </tr>
723
724 <tr>
725 <td><a href="command-line-options.html#mean-shift">-mean-shift <var>geometry</var></a></td>
726 <td>delineate arbitrarily shaped clusters in the image</td>
727 </tr>
728
729 <tr>
730 <td><a href="command-line-options.html#metric">-metric <var>type</var></a></td>
731 <td>measure differences between images with this metric</td>
732 </tr>
733
734 <tr>
735 <td><a href="command-line-options.html#mode">-mode <var>radius</var></a></td>
736 <td>make each pixel the 'predominant color' of the neighborhood</td>
737 </tr>
738
739 <tr>
740 <td><a href="command-line-options.html#modulate">-modulate <var>value</var></a></td>
741 <td>vary the brightness, saturation, and hue</td>
742 </tr>
743
744 <tr>
745 <td><a href="command-line-options.html#moments">-moments</a></td>
746 <td>display image moments.</td>
747 </tr>
748
749 <tr>
750 <td><a href="command-line-options.html#monitor">-monitor</a></td>
751 <td>monitor progress</td>
752 </tr>
753
754 <tr>
755 <td><a href="command-line-options.html#monochrome">-monochrome</a></td>
756 <td>transform image to black and white</td>
757 </tr>
758
759 <tr>
760 <td><a href="command-line-options.html#morph">-morph <var>value</var></a></td>
761 <td>morph an image sequence</td>
762 </tr>
763
764 <tr>
765 <td><a href="command-line-options.html#morphology">-morphology <var>method</var></a> <var>kernel</var></td>
766 <td>apply a morphology method to the image</td>
767 </tr>
768
769 <tr>
770 <td><a href="command-line-options.html#motion-blur">-motion-blur <var>geometry</var></a></td>
771 <td>simulate motion blur</td>
772 </tr>
773
774 <tr>
775 <td><a href="command-line-options.html#negate">-negate</a></td>
776 <td>replace each pixel with its complementary color </td>
777 </tr>
778
779 <tr>
780 <td><a href="command-line-options.html#noise">-noise <var>radius</var></a></td>
781 <td>add or reduce noise in an image</td>
782 </tr>
783
784 <tr>
785 <td><a href="command-line-options.html#normalize">-normalize</a></td>
786 <td>transform image to span the full range of colors</td>
787 </tr>
788
789 <tr>
790 <td><a href="command-line-options.html#opaque">-opaque <var>color</var></a></td>
791 <td>change this color to the fill color</td>
792 </tr>
793
794 <tr>
795 <td><a href="command-line-options.html#ordered-dither">-ordered-dither <var>NxN</var></a></td>
796 <td>ordered dither the image</td>
797 </tr>
798
799 <tr>
800 <td><a href="command-line-options.html#orient">-orient <var>type</var></a></td>
801 <td>image orientation</td>
802 </tr>
803
804 <tr>
805 <td><a href="command-line-options.html#page">-page <var>geometry</var></a></td>
806 <td>size and location of an image canvas (setting)</td>
807 </tr>
808
809 <tr>
810 <td><a href="command-line-options.html#paint">-paint <var>radius</var></a></td>
811 <td>simulate an oil painting</td>
812 </tr>
813
814 <tr>
815 <td><a href="command-line-options.html#perceptible">-perceptible</a></td>
816 <td>set each pixel whose value is less than |<var>epsilon</var>| to <var>-epsilon</var> or <var>epsilon</var> (whichever is closer) otherwise the pixel value remains unchanged.</td>
817 </tr>
818
819 <tr>
820 <td><a href="command-line-options.html#ping">-ping</a></td>
821 <td>efficiently determine image attributes</td>
822 </tr>
823
824 <tr>
825 <td><a href="command-line-options.html#pointsize">-pointsize <var>value</var></a></td>
826 <td>font point size</td>
827 </tr>
828
829 <tr>
830 <td><a href="command-line-options.html#polaroid">-polaroid <var>angle</var></a></td>
831 <td>simulate a Polaroid picture</td>
832 </tr>
833
834 <tr>
835 <td><a href="command-line-options.html#poly">-poly <var>terms</var></a></td>
836 <td>build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs).</td>
837 </tr>
838
839 <tr>
840 <td><a href="command-line-options.html#posterize">-posterize <var>levels</var></a></td>
841 <td>reduce the image to a limited number of color levels</td>
842 </tr>
843
844 <tr>
845 <td><a href="command-line-options.html#precision">-precision <var>value</var></a></td>
846 <td>set the maximum number of significant digits to be printed</td>
847 </tr>
848
849 <tr>
850 <td><a href="command-line-options.html#preview">-preview <var>type</var></a></td>
851 <td>image preview type</td>
852 </tr>
853
854 <tr>
855 <td><a href="command-line-options.html#print">-print <var>string</var></a></td>
856 <td>interpret string and print to console</td>
857 </tr>
858
859 <tr>
860 <td><a href="command-line-options.html#process">-process <var>image-filter</var></a></td>
861 <td>process the image with a custom image filter</td>
862 </tr>
863
864 <tr>
865 <td><a href="command-line-options.html#profile">-profile <var>filename</var></a></td>
866 <td>add, delete, or apply an image profile</td>
867 </tr>
868
869 <tr>
870 <td><a href="command-line-options.html#quality">-quality <var>value</var></a></td>
871 <td>JPEG/MIFF/PNG compression level</td>
872 </tr>
873
874 <tr>
875 <td><a href="command-line-options.html#quantize">-quantize <var>colorspace</var></a></td>
876 <td>reduce image colors in this colorspace</td>
877 </tr>
878
879 <tr>
880 <td><a href="command-line-options.html#quiet">-quiet</a></td>
881 <td>suppress all warning messages</td>
882 </tr>
883
884 <tr>
885 <td><a href="command-line-options.html#radial-blur">-radial-blur <var>angle</var></a></td>
886 <td>radial blur the image</td>
887 </tr>
888
889 <tr>
890 <td><a href="command-line-options.html#raise">-raise <var>value</var></a></td>
891 <td>lighten/darken image edges to create a 3-D effect</td>
892 </tr>
893
894 <tr>
895 <td><a href="command-line-options.html#random-threshold">-random-threshold <var>low,high</var></a></td>
896 <td>random threshold the image</td>
897 </tr>
898
899 <tr>
900 <td><a href="command-line-options.html#red-primary">-red-primary <var>point</var></a></td>
901 <td>chromaticity red primary point</td>
902 </tr>
903
904 <tr>
905 <td><a href="command-line-options.html#regard-warnings">-regard-warnings</a></td>
906 <td>pay attention to warning messages.</td>
907 </tr>
908
909 <tr>
910 <td><a href="command-line-options.html#region">-region <var>geometry</var></a></td>
911 <td>apply options to a portion of the image</td>
912 </tr>
913
914 <tr>
915 <td><a href="command-line-options.html#remap">-remap <var>filename</var></a></td>
916 <td>transform image colors to match this set of colors</td>
917 </tr>
918
919 <tr>
920 <td><a href="command-line-options.html#render">-render</a></td>
921 <td>render vector graphics</td>
922 </tr>
923
924 <tr>
925 <td><a href="command-line-options.html#repage">-repage <var>geometry</var></a></td>
926 <td>size and location of an image canvas</td>
927 </tr>
928
929 <tr>
930 <td><a href="command-line-options.html#resample">-resample <var>geometry</var></a></td>
931 <td>change the resolution of an image</td>
932 </tr>
933
934 <tr>
935 <td><a href="command-line-options.html#resize">-resize <var>geometry</var></a></td>
936 <td>resize the image</td>
937 </tr>
938
939 <tr>
940 <td><a href="command-line-options.html#respect-parentheses">-respect-parentheses</a></td>
941 <td>settings remain in effect until parenthesis boundary.</td>
942 </tr>
943
944 <tr>
945 <td><a href="command-line-options.html#roll">-roll <var>geometry</var></a></td>
946 <td>roll an image vertically or horizontally</td>
947 </tr>
948
949 <tr>
950 <td><a href="command-line-options.html#rotate">-rotate <var>degrees</var></a></td>
951 <td>apply Paeth rotation to the image</td>
952 </tr>
953
954 <tr>
955 <td><a href="command-line-options.html#sample">-sample <var>geometry</var></a></td>
956 <td>scale image with pixel sampling</td>
957 </tr>
958
959 <tr>
960 <td><a href="command-line-options.html#sampling-factor">-sampling-factor <var>geometry</var></a></td>
961 <td>horizontal and vertical sampling factor</td>
962 </tr>
963
964 <tr>
965 <td><a href="command-line-options.html#scale">-scale <var>geometry</var></a></td>
966 <td>scale the image</td>
967 </tr>
968
969 <tr>
970 <td><a href="command-line-options.html#scene">-scene <var>value</var></a></td>
971 <td>image scene number</td>
972 </tr>
973
974 <tr>
975 <td><a href="command-line-options.html#seed">-seed <var>value</var></a></td>
976 <td>seed a new sequence of pseudo-random numbers</td>
977 </tr>
978
979 <tr>
980 <td><a href="command-line-options.html#segment">-segment <var>values</var></a></td>
981 <td>segment an image</td>
982 </tr>
983
984 <tr>
985 <td><a href="command-line-options.html#threshold">-selective-blur <var>geometry</var></a></td>
986 <td>selectively blur pixels within a contrast threshold</td>
987 </tr>
988
989 <tr>
990 <td><a href="command-line-options.html#separate">-separate</a></td>
991 <td>separate an image channel into a grayscale image</td>
992 </tr>
993
994 <tr>
995 <td><a href="command-line-options.html#sepia-tone">-sepia-tone <var>threshold</var></a></td>
996 <td>simulate a sepia-toned photo</td>
997 </tr>
998
999 <tr>
1000 <td><a href="command-line-options.html#set">-set <var>attribute value</var></a></td>
1001 <td>set an image attribute</td>
1002 </tr>
1003
1004 <tr>
1005 <td><a href="command-line-options.html#shade">-shade <var>degrees</var></a></td>
1006 <td>shade the image using a distant light source</td>
1007 </tr>
1008
1009 <tr>
1010 <td><a href="command-line-options.html#shadow">-shadow <var>geometry</var></a></td>
1011 <td>simulate an image shadow</td>
1012 </tr>
1013
1014 <tr>
1015 <td><a href="command-line-options.html#sharpen">-sharpen <var>geometry</var></a></td>
1016 <td>sharpen the image</td>
1017 </tr>
1018
1019 <tr>
1020 <td><a href="command-line-options.html#shave">-shave <var>geometry</var></a></td>
1021 <td>shave pixels from the image edges</td>
1022 </tr>
1023
1024 <tr>
1025 <td><a href="command-line-options.html#shear">-shear <var>geometry</var></a></td>
1026 <td>slide one edge of the image along the X or Y axis</td>
1027 </tr>
1028
1029 <tr>
1030 <td><a href="command-line-options.html#sigmoidal">-sigmoidal-contrast <var>geometry</var></a></td>
1031 <td>increase the contrast without saturating highlights or shadows</td>
1032 </tr>
1033
1034 <tr>
1035 <td><a href="command-line-options.html#smush">-smush <var>offset</var></a></td>
1036 <td>smush an image sequence together</td>
1037 </tr>
1038
1039 <tr>
1040 <td><a href="command-line-options.html#size">-size <var>geometry</var></a></td>
1041 <td>width and height of image</td>
1042 </tr>
1043
1044 <tr>
1045 <td><a href="command-line-options.html#sketch">-sketch <var>geometry</var></a></td>
1046 <td>simulate a pencil sketch</td>
1047 </tr>
1048
1049 <tr>
1050 <td><a href="command-line-options.html#solarize">-solarize <var>threshold</var></a></td>
1051 <td>negate all pixels above the threshold level</td>
1052 </tr>
1053
1054 <tr>
1055 <td><a href="command-line-options.html#splice">-splice <var>geometry</var></a></td>
1056 <td>splice the background color into the image</td>
1057 </tr>
1058
1059 <tr>
1060 <td><a href="command-line-options.html#spread">-spread <var>radius</var></a></td>
1061 <td>displace image pixels by a random amount</td>
1062 </tr>
1063
1064 <tr>
1065 <td><a href="command-line-options.html#statistic">-statistic <var>type</var> <var>geometry</var></a></td>
1066 <td>replace each pixel with corresponding statistic from the neighborhood</td>
1067 </tr>
1068
1069 <tr>
1070 <td><a href="command-line-options.html#strip">-strip</a></td>
1071 <td>strip image of all profiles and comments</td>
1072 </tr>
1073
1074 <tr>
1075 <td><a href="command-line-options.html#stroke">-stroke <var>color</var></a></td>
1076 <td>graphic primitive stroke color</td>
1077 </tr>
1078
1079 <tr>
1080 <td><a href="command-line-options.html#strokewidth">-strokewidth <var>value</var></a></td>
1081 <td>graphic primitive stroke width</td>
1082 </tr>
1083
1084 <tr>
1085 <td><a href="command-line-options.html#stretch">-stretch <var>type</var></a></td>
1086 <td>render text with this font stretch</td>
1087 </tr>
1088
1089 <tr>
1090 <td><a href="command-line-options.html#style">-style <var>type</var></a></td>
1091 <td>render text with this font style</td>
1092 </tr>
1093
1094 <tr>
1095 <td><a href="command-line-options.html#swap">-swap <var>indexes</var></a></td>
1096 <td>swap two images in the image sequence</td>
1097 </tr>
1098
1099 <tr>
1100 <td><a href="command-line-options.html#swirl">-swirl <var>degrees</var></a></td>
1101 <td>swirl image pixels about the center</td>
1102 </tr>
1103
1104 <tr>
1105 <td><a href="command-line-options.html#synchronize">-synchronize</a></td>
1106 <td>synchronize image to storage device</td>
1107 </tr>
1108
1109 <tr>
1110 <td><a href="command-line-options.html#taint">-taint</a></td>
1111 <td>mark the image as modified</td>
1112 </tr>
1113
1114 <tr>
1115 <td><a href="command-line-options.html#texture">-texture <var>filename</var></a></td>
1116 <td>name of texture to tile onto the image background</td>
1117 </tr>
1118
1119 <tr>
1120 <td><a href="command-line-options.html#threshold">-threshold <var>value</var></a></td>
1121 <td>threshold the image</td>
1122 </tr>
1123
1124 <tr>
1125 <td><a href="command-line-options.html#thumbnail">-thumbnail <var>geometry</var></a></td>
1126 <td>create a thumbnail of the image</td>
1127 </tr>
1128
1129 <tr>
1130 <td><a href="command-line-options.html#tile">-tile <var>filename</var></a></td>
1131 <td>tile image when filling a graphic primitive</td>
1132 </tr>
1133
1134 <tr>
1135 <td><a href="command-line-options.html#tile-offset">-tile-offset <var>geometry</var></a></td>
1136 <td>set the image tile offset</td>
1137 </tr>
1138
1139 <tr>
1140 <td><a href="command-line-options.html#tint">-tint <var>value</var></a></td>
1141 <td>tint the image with the fill color</td>
1142 </tr>
1143
1144 <tr>
1145 <td><a href="command-line-options.html#transform">-transform</a></td>
1146 <td>affine transform image</td>
1147 </tr>
1148
1149 <tr>
1150 <td><a href="command-line-options.html#transparent">-transparent <var>color</var></a></td>
1151 <td>make this color transparent within the image</td>
1152 </tr>
1153
1154 <tr>
1155 <td><a href="command-line-options.html#transparent-color">-transparent-color <var>color</var></a></td>
1156 <td>transparent color</td>
1157 </tr>
1158
1159 <tr>
1160 <td><a href="command-line-options.html#transpose">-transpose</a></td>
1161 <td>flip image in the vertical direction and rotate 90 degrees</td>
1162 </tr>
1163
1164 <tr>
1165 <td><a href="command-line-options.html#transverse">-transverse</a></td>
1166 <td>flop image in the horizontal direction and rotate 270 degrees</td>
1167 </tr>
1168
1169 <tr>
1170 <td><a href="command-line-options.html#treedepth">-treedepth <var>value</var></a></td>
1171 <td>color tree depth</td>
1172 </tr>
1173
1174 <tr>
1175 <td><a href="command-line-options.html#trim">-trim</a></td>
1176 <td>trim image edges</td>
1177 </tr>
1178
1179 <tr>
1180 <td><a href="command-line-options.html#type">-type <var>type</var></a></td>
1181 <td>image type</td>
1182 </tr>
1183
1184 <tr>
1185 <td><a href="command-line-options.html#undercolor">-undercolor <var>color</var></a></td>
1186 <td>annotation bounding box color</td>
1187 </tr>
1188
1189 <tr>
1190 <td><a href="command-line-options.html#unique-colors">-unique-colors</a></td>
1191 <td>discard all but one of any pixel color.</td>
1192 </tr>
1193
1194 <tr>
1195 <td><a href="command-line-options.html#units">-units <var>type</var></a></td>
1196 <td>the units of image resolution</td>
1197 </tr>
1198
1199 <tr>
1200 <td><a href="command-line-options.html#unsharp">-unsharp <var>geometry</var></a></td>
1201 <td>sharpen the image</td>
1202 </tr>
1203
1204 <tr>
1205 <td><a href="command-line-options.html#verbose">-verbose</a></td>
1206 <td>print detailed information about the image</td>
1207 </tr>
1208
1209 <tr>
1210 <td><a href="command-line-options.html#version">-version</a></td>
1211 <td>print version information</td>
1212 </tr>
1213
1214 <tr>
1215 <td><a href="command-line-options.html#view">-view</a></td>
1216 <td>FlashPix viewing transforms</td>
1217 </tr>
1218
1219 <tr>
1220 <td><a href="command-line-options.html#vignette">-vignette <var>geometry</var></a></td>
1221 <td>soften the edges of the image in vignette style</td>
1222 </tr>
1223
1224 <tr>
1225 <td><a href="command-line-options.html#virtual-pixel">-virtual-pixel <var>method</var></a></td>
1226 <td>access method for pixels outside the boundaries of the image</td>
1227 </tr>
1228
1229 <tr>
1230 <td><a href="command-line-options.html#wave">-wave <var>geometry</var></a></td>
1231 <td>alter an image along a sine wave</td>
1232 </tr>
1233
1234 <tr>
1235 <td><a href="command-line-options.html#wavelet">-wavelet-denoise <var>threshold</var></a></td>
1236 <td>removes noise from the image using a wavelet transform</td>
1237 </tr>
1238
1239 <tr>
1240 <td><a href="command-line-options.html#weight">-weight <var>type</var></a></td>
1241 <td>render text with this font weight</td>
1242 </tr>
1243
1244 <tr>
1245 <td><a href="command-line-options.html#white-point">-white-point <var>point</var></a></td>
1246 <td>chromaticity white point</td>
1247 </tr>
1248
1249 <tr>
1250 <td><a href="command-line-options.html#white-threshold">-white-threshold <var>value</var></a></td>
1251 <td>force all pixels above the threshold into white</td>
1252 </tr>
1253
1254 <tr>
1255 <td><a href="command-line-options.html#write">-write <var>filename</var></a></td>
1256 <td>write images to this file</td>
1257 </tr>
1258</table>
1259</div>
1260</div>
1261 <footer class="magick-footer">
1262 <p><a href="support.html">Donate</a>
1263 <a href="sitemap.html">Sitemap</a>
1264 <a href="links.html">Related</a>
1265 <a href="architecture.html">Architecture</a>
1266</p>
Cristy776113a2016-04-29 12:01:19 -04001267 <p><a href="magick-script.html#">Back to top</a>
Cristy540ea6e2016-04-01 12:06:50 -04001268 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a>
Cristy776113a2016-04-29 12:01:19 -04001269 <a href="http://nextgen.imagemagick.org/script/contact.php">Contact Us</a></p>
Cristy540ea6e2016-04-01 12:06:50 -04001270 <p><small>© 1999-2016 ImageMagick Studio LLC</small></p>
1271 </footer>
1272</div><!-- /.container -->
1273
1274 <script src="https://localhost/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
1275 <script src="http://nextgen.imagemagick.org/js/magick.html"></script>
1276</div>
1277</body>
1278</html>