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://@DOCUMENTATION_PATH@/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 \-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 \-direction type render text right-to-left or left-to-right
38 \-display server get image or font from this X server
39 \-dispose method layer disposal method
40 \-dither method apply error diffusion to image
41 \-encipher filename convert plain pixels to cipher pixels
42 \-encoding type text encoding type
43 \-endian type endianness (MSB or LSB) of the image
44 \-family name render text with this font family
45 \-features distance analyze image features (e.g. contrast, correlation)
46 \-fill color color to use when filling a graphic primitive
47 \-filter type use this filter when resizing an image
48 \-flatten flatten a sequence of images
49 \-font name render text with this font
50 \-format type image format type
51 \-function name apply a function to the image
52 \-fuzz distance colors within this distance are considered equal
53 \-gravity type horizontal and vertical text placement
54 \-green-primary point chromaticity green primary point
55 \-intent type type of rendering intent when managing the image color
56 \-interlace type type of image interlacing scheme
57 \-interpolate method pixel color interpolation method
58 \-kerning value set the space between two letters
59 \-label string assign a label to an image
60 \-limit type value pixel cache resource limit
61 \-loop iterations add Netscape loop extension to your GIF animation
62 \-mask filename associate a mask with the image
63 \-matte store matte channel if the image has one
64 \-mattecolor color frame color
65 \-monitor monitor progress
66 \-morphology method kernel
67 apply a morphology method to the image
68 \-orient type image orientation
69 \-origin geometry image origin
70 \-page geometry size and location of an image canvas (setting)
71 \-path path write images to this path on disk
73 pixel value less than |epsilon| become epsilon or -epsilon
74 \-ping efficiently determine image attributes
75 \-pointsize value font point size
76 \-preview type image preview type
77 \-quality value JPEG/MIFF/PNG compression level
78 \-quiet suppress all warning messages
79 \-red-primary point chromaticity red primary point
80 \-regard-warnings pay attention to warning messages
81 \-sampling-factor geometry
82 horizontal and vertical sampling factor
83 \-scene value image scene number
84 \-seed value seed a new sequence of pseudo-random numbers
85 \-size geometry width and height of image
86 \-stretch type render text with this font stretch
87 \-stroke color graphic primitive stroke color
88 \-strokewidth value graphic primitive stroke width
89 \-style type render text with this font style
90 \-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
91 \-synchronize synchronize image to storage device
92 \-taint declare the image as modified
93 \-texture filename name of texture to tile onto the image background
94 \-tile-offset geometry
96 \-treedepth value color tree depth
97 \-transparent-color color
99 \-undercolor color annotation bounding box color
100 \-units type the units of image resolution
101 \-verbose print detailed information about the image
102 \-view FlashPix viewing transforms
103 \-virtual-pixel method
104 virtual pixel access method
105 \-weight type render text with this font weight
106 \-white-point point chromaticity white point
109 \-adaptive-blur geometry
110 adaptively blur pixels; decrease effect near edges
111 \-adaptive-resize geometry
112 adaptively resize image with data dependent triangulation
113 \-adaptive-sharpen geometry
114 adaptively sharpen pixels; increase effect near edges
115 \-annotate geometry text
116 annotate the image with text
117 \-auto-orient automatically orient image
118 \-black-threshold value
119 force all pixels below the threshold into black
120 \-blur geometry reduce image noise and reduce detail levels
121 \-border geometry surround image with a border of color
122 \-charcoal radius simulate a charcoal drawing
123 \-chop geometry remove pixels from the image interior
124 \-clamp keep pixel values in range (0-QuantumRange)
125 \-clip clip along the first path from the 8BIM profile
126 \-clip-mask filename associate a clip mask with the image
127 \-clip-path id clip along a named path from the 8BIM profile
128 \-colorize value colorize the image with the fill color
129 \-color-matrix matrix apply color correction to the image
130 \-contrast enhance or reduce the image contrast
131 \-contrast-stretch geometry
132 improve contrast by `stretching' the intensity range
133 \-convolve coefficients
134 apply a convolution kernel to the image
135 \-cycle amount cycle the image colormap
136 \-despeckle reduce the speckles within an image
137 \-draw string annotate the image with a graphic primitive
138 \-edge radius apply a filter to detect edges in the image
139 \-emboss radius emboss an image
140 \-enhance apply a digital filter to enhance a noisy image
141 \-equalize perform histogram equalization to an image
142 \-evaluate operator value
143 evaluate an arithmetic, relational, or logical expression
144 \-extent geometry set the image size
145 \-extract geometry extract area from image
146 \-fft implements the discrete Fourier transform (DFT)
147 \-flip flip image vertically
148 \-floodfill geometry color
149 floodfill the image with color
150 \-flop flop image horizontally
151 \-frame geometry surround image with an ornamental border
152 \-gamma value level of gamma correction
153 \-gaussian-blur geometry
154 reduce image noise and reduce detail levels
155 \-geometry geometry preferred size or location of the image
156 \-ift implements the inverse discrete Fourier transform (DFT)
157 \-help print program options
158 \-identify identify the format and characteristics of the image
159 \-implode amount implode image pixels about the center
160 \-lat geometry local adaptive thresholding
161 \-layers method optimize or compare image layers
162 \-level value adjust the level of image contrast
163 \-linear-stretch geometry
164 improve contrast by `stretching with saturation' the intensity range
165 \-median geometry apply a median filter to the image
166 \-mode geometry make each pixel the 'predominant color' of the neighborhood
167 \-modulate value vary the brightness, saturation, and hue
168 \-monochrome transform image to black and white
169 \-motion-blur geometry
171 \-negate replace each pixel with its complementary color
172 \-noise geometry add or reduce noise in an image
173 \-normalize transform image to span the full range of colors
174 \-opaque color change this color to the fill color
176 add a noise pattern to the image with specific amplitudes
177 \-paint radius simulate an oil painting
178 \-polaroid angle simulate a Polaroid picture
179 \-posterize levels reduce the image to a limited number of color levels
180 \-print string interpret string and print to console
181 \-profile filename add, delete, or apply an image profile
182 \-quantize colorspace reduce colors in this colorspace
183 \-radial-blur angle radial blur the image
184 \-raise value lighten/darken image edges to create a 3-D effect
185 \-random-threshold low,high
186 random threshold the image
187 \-region geometry apply options to a portion of the image
188 \-render render vector graphics
189 \-repage geometry size and location of an image canvas
190 \-resample geometry change the resolution of an image
191 \-resize geometry resize the image
192 \-roll geometry roll an image vertically or horizontally
193 \-rotate degrees apply Paeth rotation to the image
194 \-sample geometry scale image with pixel sampling
195 \-scale geometry scale the image
196 \-segment values segment an image
197 \-selective-blur geometry
198 selectively blur pixels within a contrast threshold
199 \-sepia-tone threshold
200 simulate a sepia-toned photo
201 \-set property value set an image property
202 \-shade degrees shade the image using a distant light source
203 \-shadow geometry simulate an image shadow
204 \-sharpen geometry sharpen the image
205 \-shave geometry shave pixels from the image edges
206 \-shear geometry slide one edge of the image along the X or Y axis
207 \-sigmoidal-contrast geometry
208 lightness rescaling using sigmoidal contrast enhancement
209 \-sketch geometry simulate a pencil sketch
210 \-solarize threshold negate all pixels above the threshold level
211 \-splice geometry splice the background color into the image
212 \-spread amount displace image pixels by a random amount
213 \-statistic type geometry
214 replace each pixel with corresponding statistic from the neighborhood
215 \-strip strip image of all profiles and comments
216 \-swirl degrees swirl image pixels about the center
217 \-threshold value threshold the image
218 \-thumbnail geometry create a thumbnail of the image
219 \-tile filename tile image when filling a graphic primitive
220 \-tint value tint the image with the fill color
221 \-transform affine transform image
222 \-transparent color make this color transparent within the image
223 \-transpose flip image vertically and rotate 90 degrees
224 \-transverse flop image horizontally and rotate 270 degrees
225 \-trim trim image edges
226 \-type type image type
227 \-unique-colors discard all but one of any pixel color
228 \-unsharp geometry sharpen the image
229 \-vignette geometry soften the edges of the image in vignette style
230 \-wave geometry alter an image along a sine wave
231 \-white-threshold value
232 force all pixels above the threshold into white
234 Image Channel Operators:
235 \-channel-extract channel-list
236 extract the channels in order
237 \-channel-inject channel-list
238 inject the channels in order
239 \-channel-swap channel,channel
242 Image Sequence Operators:
243 \-affinity filename transform image colors to match this set of colors
244 \-append append an image sequence top to botto (use +append for left to right)
245 \-clut apply a color lookup table to the image
246 \-coalesce merge a sequence of images
247 \-combine combine a sequence of images
248 \-composite composite image
249 \-crop geometry cut out a rectangular region of the image
250 \-deconstruct break down an image sequence into constituent parts
251 \-evaluate-sequence operator
252 evaluate an arithmetic, relational, or logical expression
253 \-flatten flatten a sequence of images
254 \-fx expression apply mathematical expression to an image channel(s)
255 \-hald-clut apply a Hald color lookup table to the image
256 \-morph value morph an image sequence
257 \-mosaic create a mosaic from an image sequence
258 \-poly terms build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs)
259 \-process arguments process the image with a custom image filter
260 \-separate separate an image channel into a grayscale image
261 \-smush geometry smush an image sequence together
262 \-write filename write images to this file
264 Image Stack Operators:
265 \-delete indexes delete the image from the image sequence
266 \-duplicate count,indexes
267 duplicate an image one or more times
268 \-insert index insert last image into the image sequence
269 \-swap indexes swap two images in the image sequence
271 Miscellaneous Options:
272 \-debug events display copious debugging information
273 \-help print program options
274 \-log format format of debugging information
275 \-list type print a list of supported option arguments
276 \-version print version information
278 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.
284 \fBCopyright (C) 1999-2013 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