1 .TH mogrify 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
3 mogrify \- 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.
6 \fBmogrify\fP [\fIoptions\fP] \fIinput-file\fP
8 The \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.
10 For more information about the mogrify command, point your browser to file:///usr/local/share/doc/ImageMagick-7/www/mogrify.html or http://www.imagemagick.org/script/mogrify.php.
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 \-attenuate value lessen (or intensify) when adding noise to an image
18 \-background color background color
19 \-bias value add bias when convolving an image
20 \-black-point-compensation
21 use black point compensation
22 \-blue-primary point chromaticity blue primary point
23 \-bordercolor color border color
24 \-caption string assign a caption to an image
25 \-cdl filename color correct with a color decision list
26 \-channel type apply option to select image channels
27 \-colors value preferred number of colors in the image
28 \-colorspace type alternate image colorspace
29 \-comment string annotate image with comment
30 \-compose operator set image composite operator
31 \-compress type type of pixel compression when writing the image
32 \-decipher filename convert cipher pixels to plain pixels
33 \-define format:option
34 define one or more image format options
35 \-delay value display the next image after pausing
36 \-density geometry horizontal and vertical density of the image
37 \-depth value image depth
38 \-direction type render text right-to-left or left-to-right
39 \-display server get image or font from this X server
40 \-dispose method layer disposal method
41 \-dither method apply error diffusion to image
42 \-encipher filename convert plain pixels to cipher pixels
43 \-encoding type text encoding type
44 \-endian type endianness (MSB or LSB) of the image
45 \-family name render text with this font family
46 \-features distance analyze image features (e.g. contrast, correlation)
47 \-fill color color to use when filling a graphic primitive
48 \-filter type use this filter when resizing an image
49 \-flatten flatten a sequence of images
50 \-font name render text with this font
51 \-format type image format type
52 \-function name apply a function to the image
53 \-fuzz distance colors within this distance are considered equal
54 \-gravity type horizontal and vertical text placement
55 \-green-primary point chromaticity green primary point
56 \-intensity method method to generate intensity value from pixel
57 \-intent type type of rendering intent when managing the image color
58 \-interlace type type of image interlacing scheme
59 \-interline-spacing value set the space between two text lines
60 \-interpolate method pixel color interpolation method
61 \-interword-spacing value set the space between two words
62 \-kerning value set the space between two letters
63 \-label string assign a label to an image
64 \-limit type value pixel cache resource limit
65 \-loop iterations add Netscape loop extension to your GIF animation
66 \-mask filename associate a mask with the image
67 \-matte store matte channel if the image has one
68 \-mattecolor color frame color
69 \-metric type measure differences between images with this metric
70 \-monitor monitor progress
71 \-morphology method kernel
72 apply a morphology method to the image
73 \-orient type image orientation
74 \-page geometry size and location of an image canvas (setting)
75 \-path path write images to this path on disk
77 pixel value less than |epsilon| become epsilon or -epsilon
78 \-ping efficiently determine image attributes
79 \-pointsize value font point size
80 \-precision value maximum number of significant digits to print
81 \-preview type image preview type
82 \-quality value JPEG/MIFF/PNG compression level
83 \-quiet suppress all warning messages
84 \-red-primary point chromaticity red primary point
85 \-regard-warnings pay attention to warning messages
86 \-remap filename transform image colors to match this set of colors
87 \-respect-parentheses settings remain in effect until parenthesis boundary
88 \-sampling-factor geometry
89 horizontal and vertical sampling factor
90 \-scene value image scene number
91 \-seed value seed a new sequence of pseudo-random numbers
92 \-size geometry width and height of image
93 \-stretch type render text with this font stretch
94 \-stroke color graphic primitive stroke color
95 \-strokewidth value graphic primitive stroke width
96 \-style type render text with this font style
97 \-synchronize synchronize image to storage device
98 \-taint declare the image as modified
99 \-texture filename name of texture to tile onto the image background
100 \-tile-offset geometry
102 \-treedepth value color tree depth
103 \-transparent-color color
105 \-undercolor color annotation bounding box color
106 \-units type the units of image resolution
107 \-verbose print detailed information about the image
108 \-view FlashPix viewing transforms
109 \-virtual-pixel method
110 virtual pixel access method
111 \-weight type render text with this font weight
112 \-white-point point chromaticity white point
115 \-adaptive-blur geometry
116 adaptively blur pixels; decrease effect near edges
117 \-adaptive-resize geometry
118 adaptively resize image with data dependent triangulation
119 \-adaptive-sharpen geometry
120 adaptively sharpen pixels; increase effect near edges
121 \-alpha option on, activate, off, deactivate, set, opaque, copy
122 transparent, extract, background, or shape
123 \-annotate geometry text
124 annotate the image with text
125 \-auto-gamma automagically adjust gamma level of image
126 \-auto-level automagically adjust color levels of image
127 \-auto-orient automatically orient image
128 \-bench iterations measure performance
129 \-black-threshold value
130 force all pixels below the threshold into black
131 \-blue-shift simulate a scene at nighttime in the moonlight
132 \-blur geometry reduce image noise and reduce detail levels
133 \-border geometry surround image with a border of color
134 \-brightness-contrast geometry
135 improve brightness / contrast of the image
136 \-canny geometry detect edges in the image
137 \-charcoal radius simulate a charcoal drawing
138 \-chop geometry remove pixels from the image interior
139 \-clamp keep pixel values in range (0-QuantumRange)
140 \-clip clip along the first path from the 8BIM profile
141 \-clip-mask filename associate a clip mask with the image
142 \-clip-path id clip along a named path from the 8BIM profile
143 \-colorize value colorize the image with the fill color
144 \-color-matrix matrix apply color correction to the image
145 \-contrast enhance or reduce the image contrast
146 \-contrast-stretch geometry
147 improve contrast by `stretching' the intensity range
148 \-convolve coefficients
149 apply a convolution kernel to the image
150 \-cycle amount cycle the image colormap
151 \-deskew threshold straighten an image
152 \-despeckle reduce the speckles within an image
153 \-distort method args
154 distort images according to given method ad args
155 \-draw string annotate the image with a graphic primitive
156 \-edge radius apply a filter to detect edges in the image
157 \-emboss radius emboss an image
158 \-enhance apply a digital filter to enhance a noisy image
159 \-equalize perform histogram equalization to an image
160 \-evaluate operator value
161 evaluate an arithmetic, relational, or logical expression
162 \-extent geometry set the image size
163 \-extract geometry extract area from image
164 \-fft implements the discrete Fourier transform (DFT)
165 \-flip flip image vertically
166 \-floodfill geometry color
167 floodfill the image with color
168 \-flop flop image horizontally
169 \-frame geometry surround image with an ornamental border
170 \-gamma value level of gamma correction
171 \-gaussian-blur geometry
172 reduce image noise and reduce detail levels
173 \-geometry geometry preferred size or location of the image
174 \-grayscale method convert image to grayscale
175 \-help print program options
176 \-hough-lines geometry
177 identify lines in the image
178 \-identify identify the format and characteristics of the image
179 \-ift implements the inverse discrete Fourier transform (DFT)
180 \-implode amount implode image pixels about the center
181 \-interpolative-resize geometry
182 resize image using interpolation
183 \-lat geometry local adaptive thresholding
184 \-layers method optimize or compare image layers
185 \-level value adjust the level of image contrast
186 \-level-colors color,color
187 level image with the given colors
188 \-linear-stretch geometry
189 improve contrast by `stretching with saturation' the intensity range
190 \-liquid-rescale geometry
191 rescale image with seam-carving
192 \-magnify double the size of the image with pixel art scaling
193 \-median geometry apply a median filter to the image
194 \-mode geometry make each pixel the 'predominant color' of the neighborhood
195 \-modulate value vary the brightness, saturation, and hue
196 \-monochrome transform image to black and white
197 \-motion-blur geometry
199 \-negate replace each pixel with its complementary color
200 \-noise geometry add or reduce noise in an image
201 \-normalize transform image to span the full range of colors
202 \-opaque color change this color to the fill color
204 add a noise pattern to the image with specific amplitudes
205 \-paint radius simulate an oil painting
206 \-polaroid angle simulate a Polaroid picture
207 \-posterize levels reduce the image to a limited number of color levels
208 \-print string interpret string and print to console
209 \-profile filename add, delete, or apply an image profile
210 \-quantize colorspace reduce colors in this colorspace
211 \-radial-blur angle radial blur the image
212 \-raise value lighten/darken image edges to create a 3-D effect
213 \-random-threshold low,high
214 random threshold the image
215 \-region geometry apply options to a portion of the image
216 \-render render vector graphics
217 \-repage geometry size and location of an image canvas
218 \-resample geometry change the resolution of an image
219 \-resize geometry resize the image
220 \-roll geometry roll an image vertically or horizontally
221 \-rotate degrees apply Paeth rotation to the image
222 \-sample geometry scale image with pixel sampling
223 \-scale geometry scale the image
224 \-segment values segment an image
225 \-selective-blur geometry
226 selectively blur pixels within a contrast threshold
227 \-sepia-tone threshold
228 simulate a sepia-toned photo
229 \-set property value set an image property
230 \-shade degrees shade the image using a distant light source
231 \-shadow geometry simulate an image shadow
232 \-sharpen geometry sharpen the image
233 \-shave geometry shave pixels from the image edges
234 \-shear geometry slide one edge of the image along the X or Y axis
235 \-sigmoidal-contrast geometry
236 lightness rescaling using sigmoidal contrast enhancement
237 \-sketch geometry simulate a pencil sketch
238 \-solarize threshold negate all pixels above the threshold level
239 \-sparse-color method args
240 fill in a image based on a few color points
241 \-splice geometry splice the background color into the image
242 \-spread amount displace image pixels by a random amount
243 \-statistic type geometry
244 replace each pixel with corresponding statistic from the neighborhood
245 \-strip strip image of all profiles and comments
246 \-swirl degrees swirl image pixels about the center
247 \-threshold value threshold the image
248 \-thumbnail geometry create a thumbnail of the image
249 \-tile filename tile image when filling a graphic primitive
250 \-tint value tint the image with the fill color
251 \-transform affine transform image
252 \-transparent color make this color transparent within the image
253 \-transpose flip image vertically and rotate 90 degrees
254 \-transverse flop image horizontally and rotate 270 degrees
255 \-trim trim image edges
256 \-type type image type
257 \-unique-colors discard all but one of any pixel color
258 \-unsharp geometry sharpen the image
259 \-vignette geometry soften the edges of the image in vignette style
260 \-wave geometry alter an image along a sine wave
261 \-white-threshold value
262 force all pixels above the threshold into white
264 Image Channel Operators:
265 \-channel-fx expression
266 exchange, extract, or transfer one or more image channels
267 \-separate separate an image channel into a grayscale image
269 Image Sequence Operators:
270 \-affinity filename transform image colors to match this set of colors
271 \-append append an image sequence top to botto (use +append for left to right)
272 \-clut apply a color lookup table to the image
273 \-coalesce merge a sequence of images
274 \-combine combine a sequence of images
275 \-compare mathematically and visually annotate the difference between an image and its reconstruction
276 \-complex operator perform complex mathematics on an image sequence
277 \-composite composite image
278 \-crop geometry cut out a rectangular region of the image
279 \-deconstruct break down an image sequence into constituent parts
280 \-evaluate-sequence operator
281 evaluate an arithmetic, relational, or logical expression
282 \-flatten flatten a sequence of images
283 \-fx expression apply mathematical expression to an image channel(s)
284 \-hald-clut apply a Hald color lookup table to the image
285 \-morph value morph an image sequence
286 \-mosaic create a mosaic from an image sequence
287 \-poly terms build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs)
288 \-process arguments process the image with a custom image filter
289 \-separate separate an image channel into a grayscale image
290 \-smush geometry smush an image sequence together
291 \-write filename write images to this file
293 Image Stack Operators:
294 \-delete indexes delete the image from the image sequence
295 \-duplicate count,indexes
296 duplicate an image one or more times
297 \-insert index insert last image into the image sequence
298 \-reverse reverse image sequence
299 \-swap indexes swap two images in the image sequence
301 Miscellaneous Options:
302 \-debug events display copious debugging information
303 \-distribute-cache port
304 distributed pixel cache spanning one or more servers
305 \-help print program options
306 \-log format format of debugging information
307 \-list type print a list of supported option arguments
308 \-version print version information
310 By 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.
316 \fBCopyright (C) 1999-2014 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/local/share/doc/ImageMagick-7/www/license.html or http://www.imagemagick.org/script/license.php\fP