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