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