blob: 2572b61502f8761e57c016016d7bc77d16f6b057 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001.TH mogrify 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
2.SH NAME
3mogrify \- resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. Mogrify overwrites the original image file, whereas, convert(1) writes to a different image file.
4.SH SYNOPSIS
5.TP
6\fBmogrify\fP [\fIoptions\fP] \fIinput-file\fP
7.SH OVERVIEW
8The \fBmogrify\fP program is a member of the ImageMagick(1) suite of tools. Use it to resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. This tool is similar to convert(1) except the original image file is overwritten with any changes you request.
9
10For more information about the mogrify command, point your browser to file://@DOCUMENTATION_PATH@/www/mogrify.html or http://www.imagemagick.org/script/mogrify.php.
11.SH DESCRIPTION
12Image Settings:
13 \-adjoin join images into a single multi-image file
14 \-affine matrix affine transform matrix
15 \-antialias remove pixel-aliasing
16 \-authenticate value decrypt image with this password
17 \-background color background color
18 \-bias value add bias when convolving an image
19 \-black-point-compensation
20 use black point compensation
21 \-blue-primary point chromaticity blue primary point
22 \-bordercolor color border color
23 \-caption string assign a caption to an image
24 \-cdl filename color correct with a color decision list
25 \-channel type apply option to select image channels
26 \-colors value preferred number of colors in the image
27 \-colorspace type alternate image colorspace
28 \-comment string annotate image with comment
29 \-compose operator set image composite operator
30 \-compress type type of pixel compression when writing the image
31 \-decipher filename convert cipher pixels to plain pixels
32 \-define format:option
33 define one or more image format options
34 \-delay value display the next image after pausing
35 \-density geometry horizontal and vertical density of the image
36 \-depth value image depth
37 \-display server get image or font from this X server
38 \-dispose method layer disposal method
39 \-dither method apply error diffusion to image
40 \-encipher filename convert plain pixels to cipher pixels
41 \-encoding type text encoding type
42 \-endian type endianness (MSB or LSB) of the image
43 \-family name render text with this font family
44 \-fill color color to use when filling a graphic primitive
45 \-filter type use this filter when resizing an image
46 \-flatten flatten a sequence of images
47 \-font name render text with this font
48 \-format type image format type
49 \-function name apply a function to the image
50 \-fuzz distance colors within this distance are considered equal
51 \-gravity type horizontal and vertical text placement
52 \-green-primary point chromaticity green primary point
53 \-intent type type of rendering intent when managing the image color
54 \-interlace type type of image interlacing scheme
55 \-interpolate method pixel color interpolation method
56 \-label string assign a label to an image
57 \-limit type value pixel cache resource limit
58 \-loop iterations add Netscape loop extension to your GIF animation
59 \-mask filename associate a mask with the image
60 \-matte store matte channel if the image has one
61 \-mattecolor color frame color
62 \-monitor monitor progress
cristy02d5b4f2010-02-01 01:08:27 +000063 \-morphology method kernel
64 apply a morphology method to the image
cristy3ed852e2009-09-05 21:47:34 +000065 \-orient type image orientation
66 \-origin geometry image origin
67 \-page geometry size and location of an image canvas (setting)
68 \-path path write images to this path on disk
69 \-ping efficiently determine image attributes
70 \-pointsize value font point size
71 \-preview type image preview type
72 \-quality value JPEG/MIFF/PNG compression level
73 \-quiet suppress all warning messages
74 \-red-primary point chromaticity red primary point
75 \-regard-warnings pay attention to warning messages
76 \-sampling-factor geometry
77 horizontal and vertical sampling factor
78 \-scene value image scene number
79 \-seed value seed a new sequence of pseudo-random numbers
80 \-size geometry width and height of image
81 \-stretch type render text with this font stretch
82 \-stroke color graphic primitive stroke color
83 \-strokewidth value graphic primitive stroke width
84 \-style type render text with this font style
85 \-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
86 \-texture filename name of texture to tile onto the image background
87 \-tile-offset geometry
88 tile offset
89 \-treedepth value color tree depth
90 \-transparent-color color
91 transparent color
92 \-undercolor color annotation bounding box color
93 \-units type the units of image resolution
94 \-verbose print detailed information about the image
95 \-view FlashPix viewing transforms
96 \-virtual-pixel method
97 virtual pixel access method
98 \-weight type render text with this font weight
99 \-white-point point chromaticity white point
100
101Image Operators:
102 \-adaptive-blur geometry
103 adaptively blur pixels; decrease effect near edges
104 \-adaptive-resize geometry
105 adaptively resize image with data dependent triangulation
106 \-adaptive-sharpen geometry
107 adaptively sharpen pixels; increase effect near edges
108 \-annotate geometry text
109 annotate the image with text
110 \-auto-orient automatically orient image
111 \-black-threshold value
112 force all pixels below the threshold into black
113 \-blur geometry reduce image noise and reduce detail levels
114 \-border geometry surround image with a border of color
115 \-charcoal radius simulate a charcoal drawing
116 \-chop geometry remove pixels from the image interior
117 \-clip clip along the first path from the 8BIM profile
118 \-clip-mask filename associate a clip mask with the image
119 \-clip-path id clip along a named path from the 8BIM profile
120 \-colorize value colorize the image with the fill color
121 \-contrast enhance or reduce the image contrast
122 \-contrast-stretch geometry
123 improve contrast by `stretching' the intensity range
124 \-convolve coefficients
125 apply a convolution kernel to the image
126 \-cycle amount cycle the image colormap
127 \-despeckle reduce the speckles within an image
128 \-draw string annotate the image with a graphic primitive
129 \-edge radius apply a filter to detect edges in the image
130 \-emboss radius emboss an image
131 \-enhance apply a digital filter to enhance a noisy image
132 \-equalize perform histogram equalization to an image
133 \-evaluate operator value
134 evaluate an arithmetic, relational, or logical expression
135 \-extent geometry set the image size
136 \-extract geometry extract area from image
137 \-fft implements the discrete Fourier transform (DFT)
138 \-flip flip image vertically
139 \-floodfill geometry color
140 floodfill the image with color
141 \-flop flop image horizontally
142 \-frame geometry surround image with an ornamental border
143 \-gamma value level of gamma correction
144 \-gaussian-blur geometry
145 reduce image noise and reduce detail levels
cristy901f09d2009-10-16 22:56:10 +0000146 \-geometry geometry preferred size or location of the image
cristy3ed852e2009-09-05 21:47:34 +0000147 \-ift implements the inverse discrete Fourier transform (DFT)
148 \-help print program options
149 \-identify identify the format and characteristics of the image
150 \-implode amount implode image pixels about the center
151 \-lat geometry local adaptive thresholding
152 \-layers method optimize or compare image layers
153 \-level value adjust the level of image contrast
154 \-linear-stretch geometry
155 improve contrast by `stretching with saturation' the intensity range
156 \-median radius apply a median filter to the image
157 \-modulate value vary the brightness, saturation, and hue
158 \-monochrome transform image to black and white
159 \-motion-blur geometry
160 simulate motion blur
161 \-negate replace every pixel with its complementary color
162 \-noise radius add or reduce noise in an image
163 \-normalize transform image to span the full range of colors
164 \-opaque color change this color to the fill color
165 \-ordered-dither NxN
166 add a noise pattern to the image with specific amplitudes
167 \-paint radius simulate an oil painting
168 \-polaroid angle simulate a Polaroid picture
169 \-posterize levels reduce the image to a limited number of color levels
170 \-print string interpret string and print to console
171 \-profile filename add, delete, or apply an image profile
172 \-quantize colorspace reduce colors in this colorspace
173 \-radial-blur angle radial blur the image
174 \-raise value lighten/darken image edges to create a 3-D effect
175 \-random-threshold low,high
176 random threshold the image
177 \-recolor matrix translate, scale, shear, or rotate image colors
178 \-region geometry apply options to a portion of the image
179 \-render render vector graphics
180 \-repage geometry size and location of an image canvas
181 \-resample geometry change the resolution of an image
182 \-resize geometry resize the image
183 \-roll geometry roll an image vertically or horizontally
184 \-rotate degrees apply Paeth rotation to the image
185 \-sample geometry scale image with pixel sampling
186 \-scale geometry scale the image
187 \-segment values segment an image
188 \-selective-blur geometry
189 selectively blur pixels within a contrast threshold
190 \-sepia-tone threshold
191 simulate a sepia-toned photo
192 \-set property value set an image property
193 \-shade degrees shade the image using a distant light source
194 \-shadow geometry simulate an image shadow
195 \-sharpen geometry sharpen the image
196 \-shave geometry shave pixels from the image edges
197 \-shear geometry slide one edge of the image along the X or Y axis
198 \-sigmoidal-contrast geometry
199 lightness rescaling using sigmoidal contrast enhancement
200 \-sketch geometry simulate a pencil sketch
201 \-solarize threshold negate all pixels above the threshold level
202 \-splice geometry splice the background color into the image
203 \-spread amount displace image pixels by a random amount
204 \-strip strip image of all profiles and comments
205 \-swirl degrees swirl image pixels about the center
206 \-threshold value threshold the image
207 \-thumbnail geometry create a thumbnail of the image
208 \-tile filename tile image when filling a graphic primitive
209 \-tint value tint the image with the fill color
210 \-transform affine transform image
211 \-transparent color make this color transparent within the image
212 \-transpose flip image vertically and rotate 90 degrees
213 \-transverse flop image horizontally and rotate 270 degrees
214 \-trim trim image edges
215 \-type type image type
216 \-unique-colors discard all but one of any pixel color
217 \-unsharp geometry sharpen the image
218 \-vignette geometry soften the edges of the image in vignette style
219 \-wave geometry alter an image along a sine wave
220 \-white-threshold value
221 force all pixels above the threshold into white
222
223Image Sequence Operators:
224 \-affinity filename transform image colors to match this set of colors
225 \-append append an image sequence
226 \-average average an image sequence
227 \-clut apply a color lookup table to the image
228 \-coalesce merge a sequence of images
229 \-combine combine a sequence of images
230 \-composite composite image
231 \-crop geometry cut out a rectangular region of the image
232 \-deconstruct break down an image sequence into constituent parts
233 \-flatten flatten a sequence of images
234 \-fx expression apply mathematical expression to an image channel(s)
235 \-hald-clut apply a Hald color lookup table to the image
236 \-morph value morph an image sequence
237 \-mosaic create a mosaic from an image sequence
238 \-process arguments process the image with a custom image filter
239 \-separate separate an image channel into a grayscale image
240 \-write filename write images to this file
241
242Image Stack Operators:
243 \-clone index clone an image
244 \-delete index delete the image from the image sequence
245 \-insert index insert last image into the image sequence
246 \-swap indexes swap two images in the image sequence
247
248Miscellaneous Options:
249 \-debug events display copious debugging information
250 \-help print program options
251 \-log format format of debugging information
252 \-list type print a list of supported option arguments
253 \-version print version information
254
255By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
256.SH SEE ALSO
257ImageMagick(1)
258
259.SH COPYRIGHT
260
cristy16af1cb2009-12-11 21:38:29 +0000261\fBCopyright (C) 1999-2010 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html or http://www.imagemagick.org/script/license.php\fP