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