blob: 5fb90404ad4e082933374f45ecd6a4157dceee17 [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
cristydc0f0892009-12-29 02:21:55 +000010For more information about the mogrify command, point your browser to file:///usr/local/share/doc/ImageMagick-6.5.9/www/mogrify.html or http://www.imagemagick.org/script/mogrify.php.
cristy3ed852e2009-09-05 21:47:34 +000011.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
63 \-orient type image orientation
64 \-origin geometry image origin
65 \-page geometry size and location of an image canvas (setting)
66 \-path path write images to this path on disk
67 \-ping efficiently determine image attributes
68 \-pointsize value font point size
69 \-preview type image preview type
70 \-quality value JPEG/MIFF/PNG compression level
71 \-quiet suppress all warning messages
72 \-red-primary point chromaticity red primary point
73 \-regard-warnings pay attention to warning messages
74 \-sampling-factor geometry
75 horizontal and vertical sampling factor
76 \-scene value image scene number
77 \-seed value seed a new sequence of pseudo-random numbers
78 \-size geometry width and height of image
79 \-stretch type render text with this font stretch
80 \-stroke color graphic primitive stroke color
81 \-strokewidth value graphic primitive stroke width
82 \-style type render text with this font style
83 \-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
84 \-texture filename name of texture to tile onto the image background
85 \-tile-offset geometry
86 tile offset
87 \-treedepth value color tree depth
88 \-transparent-color color
89 transparent color
90 \-undercolor color annotation bounding box color
91 \-units type the units of image resolution
92 \-verbose print detailed information about the image
93 \-view FlashPix viewing transforms
94 \-virtual-pixel method
95 virtual pixel access method
96 \-weight type render text with this font weight
97 \-white-point point chromaticity white point
98
99Image Operators:
100 \-adaptive-blur geometry
101 adaptively blur pixels; decrease effect near edges
102 \-adaptive-resize geometry
103 adaptively resize image with data dependent triangulation
104 \-adaptive-sharpen geometry
105 adaptively sharpen pixels; increase effect near edges
106 \-annotate geometry text
107 annotate the image with text
108 \-auto-orient automatically orient image
109 \-black-threshold value
110 force all pixels below the threshold into black
111 \-blur geometry reduce image noise and reduce detail levels
112 \-border geometry surround image with a border of color
113 \-charcoal radius simulate a charcoal drawing
114 \-chop geometry remove pixels from the image interior
115 \-clip clip along the first path from the 8BIM profile
116 \-clip-mask filename associate a clip mask with the image
117 \-clip-path id clip along a named path from the 8BIM profile
118 \-colorize value colorize the image with the fill color
119 \-contrast enhance or reduce the image contrast
120 \-contrast-stretch geometry
121 improve contrast by `stretching' the intensity range
122 \-convolve coefficients
123 apply a convolution kernel to the image
124 \-cycle amount cycle the image colormap
125 \-despeckle reduce the speckles within an image
126 \-draw string annotate the image with a graphic primitive
127 \-edge radius apply a filter to detect edges in the image
128 \-emboss radius emboss an image
129 \-enhance apply a digital filter to enhance a noisy image
130 \-equalize perform histogram equalization to an image
131 \-evaluate operator value
132 evaluate an arithmetic, relational, or logical expression
133 \-extent geometry set the image size
134 \-extract geometry extract area from image
135 \-fft implements the discrete Fourier transform (DFT)
136 \-flip flip image vertically
137 \-floodfill geometry color
138 floodfill the image with color
139 \-flop flop image horizontally
140 \-frame geometry surround image with an ornamental border
141 \-gamma value level of gamma correction
142 \-gaussian-blur geometry
143 reduce image noise and reduce detail levels
cristy901f09d2009-10-16 22:56:10 +0000144 \-geometry geometry preferred size or location of the image
cristy3ed852e2009-09-05 21:47:34 +0000145 \-ift implements the inverse discrete Fourier transform (DFT)
146 \-help print program options
147 \-identify identify the format and characteristics of the image
148 \-implode amount implode image pixels about the center
149 \-lat geometry local adaptive thresholding
150 \-layers method optimize or compare image layers
151 \-level value adjust the level of image contrast
152 \-linear-stretch geometry
153 improve contrast by `stretching with saturation' the intensity range
154 \-median radius apply a median filter to the image
155 \-modulate value vary the brightness, saturation, and hue
156 \-monochrome transform image to black and white
157 \-motion-blur geometry
158 simulate motion blur
cristy2146a5f2010-02-01 01:28:35 +0000159 \-negate replace each pixel with its complementary color
cristy3ed852e2009-09-05 21:47:34 +0000160 \-noise radius add or reduce noise in an image
161 \-normalize transform image to span the full range of colors
162 \-opaque color change this color to the fill color
163 \-ordered-dither NxN
164 add a noise pattern to the image with specific amplitudes
165 \-paint radius simulate an oil painting
166 \-polaroid angle simulate a Polaroid picture
167 \-posterize levels reduce the image to a limited number of color levels
168 \-print string interpret string and print to console
169 \-profile filename add, delete, or apply an image profile
170 \-quantize colorspace reduce colors in this colorspace
171 \-radial-blur angle radial blur the image
172 \-raise value lighten/darken image edges to create a 3-D effect
173 \-random-threshold low,high
174 random threshold the image
175 \-recolor matrix translate, scale, shear, or rotate image colors
176 \-region geometry apply options to a portion of the image
177 \-render render vector graphics
178 \-repage geometry size and location of an image canvas
179 \-resample geometry change the resolution of an image
180 \-resize geometry resize the image
181 \-roll geometry roll an image vertically or horizontally
182 \-rotate degrees apply Paeth rotation to the image
183 \-sample geometry scale image with pixel sampling
184 \-scale geometry scale the image
185 \-segment values segment an image
186 \-selective-blur geometry
187 selectively blur pixels within a contrast threshold
188 \-sepia-tone threshold
189 simulate a sepia-toned photo
190 \-set property value set an image property
191 \-shade degrees shade the image using a distant light source
192 \-shadow geometry simulate an image shadow
193 \-sharpen geometry sharpen the image
194 \-shave geometry shave pixels from the image edges
195 \-shear geometry slide one edge of the image along the X or Y axis
196 \-sigmoidal-contrast geometry
197 lightness rescaling using sigmoidal contrast enhancement
198 \-sketch geometry simulate a pencil sketch
199 \-solarize threshold negate all pixels above the threshold level
200 \-splice geometry splice the background color into the image
201 \-spread amount displace image pixels by a random amount
202 \-strip strip image of all profiles and comments
203 \-swirl degrees swirl image pixels about the center
204 \-threshold value threshold the image
205 \-thumbnail geometry create a thumbnail of the image
206 \-tile filename tile image when filling a graphic primitive
207 \-tint value tint the image with the fill color
208 \-transform affine transform image
209 \-transparent color make this color transparent within the image
210 \-transpose flip image vertically and rotate 90 degrees
211 \-transverse flop image horizontally and rotate 270 degrees
212 \-trim trim image edges
213 \-type type image type
214 \-unique-colors discard all but one of any pixel color
215 \-unsharp geometry sharpen the image
216 \-vignette geometry soften the edges of the image in vignette style
217 \-wave geometry alter an image along a sine wave
218 \-white-threshold value
219 force all pixels above the threshold into white
220
221Image Sequence Operators:
222 \-affinity filename transform image colors to match this set of colors
223 \-append append an image sequence
224 \-average average an image sequence
225 \-clut apply a color lookup table to the image
226 \-coalesce merge a sequence of images
227 \-combine combine a sequence of images
228 \-composite composite image
229 \-crop geometry cut out a rectangular region of the image
230 \-deconstruct break down an image sequence into constituent parts
231 \-flatten flatten a sequence of images
232 \-fx expression apply mathematical expression to an image channel(s)
233 \-hald-clut apply a Hald color lookup table to the image
234 \-morph value morph an image sequence
235 \-mosaic create a mosaic from an image sequence
236 \-process arguments process the image with a custom image filter
237 \-separate separate an image channel into a grayscale image
238 \-write filename write images to this file
239
240Image Stack Operators:
241 \-clone index clone an image
242 \-delete index delete the image from the image sequence
243 \-insert index insert last image into the image sequence
244 \-swap indexes swap two images in the image sequence
245
246Miscellaneous Options:
247 \-debug events display copious debugging information
248 \-help print program options
249 \-log format format of debugging information
250 \-list type print a list of supported option arguments
251 \-version print version information
252
253By 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.
254.SH SEE ALSO
255ImageMagick(1)
256
257.SH COPYRIGHT
258
cristydc0f0892009-12-29 02:21:55 +0000259\fBCopyright (C) 1999-2010 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/local/share/doc/ImageMagick-6.5.9/www/license.html or http://www.imagemagick.org/script/license.php\fP