| 1 | .TH mogrify 1 "Date: 2005/03/01 01:00:00" "ImageMagick" |
|---|
| 2 | .SH NAME |
|---|
| 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. |
|---|
| 4 | .SH SYNOPSIS |
|---|
| 5 | .TP |
|---|
| 6 | \fBmogrify\fP [\fIoptions\fP] \fIinput-file\fP |
|---|
| 7 | .SH OVERVIEW |
|---|
| 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. |
|---|
| 9 | |
|---|
| 10 | For more information about the mogrify command, point your browser to file:///usr/local/share/doc/ImageMagick-6.3.5/www/mogrify.html or http://www.imagemagick.org/script/mogrify.php. |
|---|
| 11 | .SH DESCRIPTION |
|---|
| 12 | Image 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 | -channel type apply option to select image channels |
|---|
| 25 | -colors value preferred number of colors in the image |
|---|
| 26 | -colorspace type alternate image colorspace |
|---|
| 27 | -comment string annotate image with comment |
|---|
| 28 | -compose operator set image composite operator |
|---|
| 29 | -compress type type of pixel compression when writing the image |
|---|
| 30 | -debug events display copious debugging information |
|---|
| 31 | -define format:option |
|---|
| 32 | define one or more image format options |
|---|
| 33 | -delay value display the next image after pausing |
|---|
| 34 | -density geometry horizontal and vertical density of the image |
|---|
| 35 | -depth value image depth |
|---|
| 36 | -display server get image or font from this X server |
|---|
| 37 | -dispose method GIF disposal method |
|---|
| 38 | -dither apply Floyd/Steinberg error diffusion to image |
|---|
| 39 | -encoding type text encoding type |
|---|
| 40 | -endian type endianness (MSB or LSB) of the image |
|---|
| 41 | -family name render text with this font family |
|---|
| 42 | -fill color color to use when filling a graphic primitive |
|---|
| 43 | -filter type use this filter when resizing an image |
|---|
| 44 | -font name render text with this font |
|---|
| 45 | -format type image format type |
|---|
| 46 | -fuzz distance colors within this distance are considered equal |
|---|
| 47 | -gravity type horizontal and vertical text placement |
|---|
| 48 | -green-primary point chromaticity green primary point |
|---|
| 49 | -intent type type of rendering intent when managing the image color |
|---|
| 50 | -interlace type type of image interlacing scheme |
|---|
| 51 | -interpolate method pixel color interpolation method |
|---|
| 52 | -label string assign a label to an image |
|---|
| 53 | -limit type value pixel cache resource limit |
|---|
| 54 | -log format format of debugging information |
|---|
| 55 | -loop iterations add Netscape loop extension to your GIF animation |
|---|
| 56 | -mask filename associate a mask with the image |
|---|
| 57 | -matte store matte channel if the image has one |
|---|
| 58 | -mattecolor color frame color |
|---|
| 59 | -monitor monitor progress |
|---|
| 60 | -orient type image orientation |
|---|
| 61 | -origin geometry image origin |
|---|
| 62 | -page geometry size and location of an image canvas (setting) |
|---|
| 63 | -path path write images to this path on disk |
|---|
| 64 | -ping efficiently determine image attributes |
|---|
| 65 | -pointsize value font point size |
|---|
| 66 | -preview type image preview type |
|---|
| 67 | -quality value JPEG/MIFF/PNG compression level |
|---|
| 68 | -quiet suppress all warning messages |
|---|
| 69 | -red-primary point chromaticity red primary point |
|---|
| 70 | -regard-warnings pay attention to warning messages |
|---|
| 71 | -sampling-factor geometry |
|---|
| 72 | horizontal and vertical sampling factor |
|---|
| 73 | -scene value image scene number |
|---|
| 74 | -seed value seed a new sequence of pseudo-random numbers |
|---|
| 75 | -size geometry width and height of image |
|---|
| 76 | -stretch type render text with this font stretch |
|---|
| 77 | -stroke color graphic primitive stroke color |
|---|
| 78 | -strokewidth value graphic primitive stroke width |
|---|
| 79 | -style type render text with this font style |
|---|
| 80 | -support factor resize support: > 1.0 is blurry, < 1.0 is sharp |
|---|
| 81 | -texture filename name of texture to tile onto the image background |
|---|
| 82 | -tile-offset geometry |
|---|
| 83 | tile offset |
|---|
| 84 | -treedepth value color tree depth |
|---|
| 85 | -transparent-color color |
|---|
| 86 | transparent color |
|---|
| 87 | -undercolor color annotation bounding box color |
|---|
| 88 | -units type the units of image resolution |
|---|
| 89 | -verbose print detailed information about the image |
|---|
| 90 | -view FlashPix viewing transforms |
|---|
| 91 | -virtual-pixel method |
|---|
| 92 | virtual pixel access method |
|---|
| 93 | -weight type render text with this font weight |
|---|
| 94 | -white-point point chromaticity white point |
|---|
| 95 | |
|---|
| 96 | Image Operators: |
|---|
| 97 | -adaptive-blur geometry |
|---|
| 98 | adaptively blur pixels; decrease effect near edges |
|---|
| 99 | -adaptive-resize geometry |
|---|
| 100 | adaptively resize image with data dependent triangulation |
|---|
| 101 | -adaptive-sharpen geometry |
|---|
| 102 | adaptively sharpen pixels; increase effect near edges |
|---|
| 103 | -annotate geometry text |
|---|
| 104 | annotate the image with text |
|---|
| 105 | -auto-orient automatically orient image |
|---|
| 106 | -black-threshold value |
|---|
| 107 | force all pixels below the threshold into black |
|---|
| 108 | -blur geometry reduce image noise and reduce detail levels |
|---|
| 109 | -border geometry surround image with a border of color |
|---|
| 110 | -charcoal radius simulate a charcoal drawing |
|---|
| 111 | -chop geometry remove pixels from the image interior |
|---|
| 112 | -clip clip along the first path from the 8BIM profile |
|---|
| 113 | -clip-mask filename associate a clip mask with the image |
|---|
| 114 | -clip-path id clip along a named path from the 8BIM profile |
|---|
| 115 | -colorize value colorize the image with the fill color |
|---|
| 116 | -contrast enhance or reduce the image contrast |
|---|
| 117 | -contrast-stretch geometry |
|---|
| 118 | improve contrast by `stretching' the intensity range |
|---|
| 119 | -convolve coefficients |
|---|
| 120 | apply a convolution kernel to the image |
|---|
| 121 | -cycle amount cycle the image colormap |
|---|
| 122 | -despeckle reduce the speckles within an image |
|---|
| 123 | -draw string annotate the image with a graphic primitive |
|---|
| 124 | -edge radius apply a filter to detect edges in the image |
|---|
| 125 | -emboss radius emboss an image |
|---|
| 126 | -enhance apply a digital filter to enhance a noisy image |
|---|
| 127 | -equalize perform histogram equalization to an image |
|---|
| 128 | -evaluate operator value |
|---|
| 129 | evaluate an arithmetic, relational, or logical expression |
|---|
| 130 | -extent geometry set the image size |
|---|
| 131 | -extract geometry extract area from image |
|---|
| 132 | -flip flip image vertically |
|---|
| 133 | -floodfill geometry color |
|---|
| 134 | floodfill the image with color |
|---|
| 135 | -flop flop image horizontally |
|---|
| 136 | -frame geometry surround image with an ornamental border |
|---|
| 137 | -gamma value level of gamma correction |
|---|
| 138 | -gaussian-blur geometry |
|---|
| 139 | reduce image noise and reduce detail levels |
|---|
| 140 | -geometry geometry perferred size or location of the image |
|---|
| 141 | -help print program options |
|---|
| 142 | -identify identify the format and characteristics of the image |
|---|
| 143 | -implode amount implode image pixels about the center |
|---|
| 144 | -lat geometry local adaptive thresholding |
|---|
| 145 | -layers method optimize or compare image layers |
|---|
| 146 | -level value adjust the level of image contrast |
|---|
| 147 | -linear-stretch geometry |
|---|
| 148 | improve contrast by `stretching with saturation' the intensity range |
|---|
| 149 | -median radius apply a median filter to the image |
|---|
| 150 | -modulate value vary the brightness, saturation, and hue |
|---|
| 151 | -monochrome transform image to black and white |
|---|
| 152 | -motion-blur geometry |
|---|
| 153 | simulate motion blur |
|---|
| 154 | -negate replace every pixel with its complementary color |
|---|
| 155 | -noise radius add or reduce noise in an image |
|---|
| 156 | -normalize transform image to span the full range of colors |
|---|
| 157 | -opaque color change this color to the fill color |
|---|
| 158 | -ordered-dither NxN |
|---|
| 159 | add a noise pattern to the image with specific amplitudes |
|---|
| 160 | -paint radius simulate an oil painting |
|---|
| 161 | -polaroid angle simulate a Polaroid picture |
|---|
| 162 | -posterize levels reduce the image to a limited number of color levels |
|---|
| 163 | -print string interpret string and print to console |
|---|
| 164 | -profile filename add, delete, or apply an image profile |
|---|
| 165 | -quantize colorspace reduce colors in this colorspace |
|---|
| 166 | -radial-blur angle radial blur the image |
|---|
| 167 | -raise value lighten/darken image edges to create a 3-D effect |
|---|
| 168 | -random-threshold low,high |
|---|
| 169 | random threshold the image |
|---|
| 170 | -recolor matrix translate, scale, shear, or rotate image colors |
|---|
| 171 | -region geometry apply options to a portion of the image |
|---|
| 172 | -render render vector graphics |
|---|
| 173 | -repage geometry size and location of an image canvas |
|---|
| 174 | -resample geometry change the resolution of an image |
|---|
| 175 | -resize geometry resize the image |
|---|
| 176 | -roll geometry roll an image vertically or horizontally |
|---|
| 177 | -rotate degrees apply Paeth rotation to the image |
|---|
| 178 | -sample geometry scale image with pixel sampling |
|---|
| 179 | -scale geometry scale the image |
|---|
| 180 | -segment values segment an image |
|---|
| 181 | -sepia-tone threshold |
|---|
| 182 | simulate a sepia-toned photo |
|---|
| 183 | -set property value set an image property |
|---|
| 184 | -shade degrees shade the image using a distant light source |
|---|
| 185 | -shadow geometry simulate an image shadow |
|---|
| 186 | -sharpen geometry sharpen the image |
|---|
| 187 | -shave geometry shave pixels from the image edges |
|---|
| 188 | -shear geometry slide one edge of the image along the X or Y axis |
|---|
| 189 | -sigmoidal-contrast geometry |
|---|
| 190 | lightness rescaling using sigmoidal contrast enhancement |
|---|
| 191 | -sketch geometry simulate a pencil sketch |
|---|
| 192 | -solarize threshold negate all pixels above the threshold level |
|---|
| 193 | -splice geometry splice the background color into the image |
|---|
| 194 | -spread amount displace image pixels by a random amount |
|---|
| 195 | -strip strip image of all profiles and comments |
|---|
| 196 | -swirl degrees swirl image pixels about the center |
|---|
| 197 | -threshold value threshold the image |
|---|
| 198 | -thumbnail geometry create a thumbnail of the image |
|---|
| 199 | -tile filename tile image when filling a graphic primitive |
|---|
| 200 | -tint value tint the image with the fill color |
|---|
| 201 | -transform affine transform image |
|---|
| 202 | -transparent color make this color transparent within the image |
|---|
| 203 | -transpose flip image vertically and rotate 90 degrees |
|---|
| 204 | -transverse flop image horizontally and rotate 270 degrees |
|---|
| 205 | -trim trim image edges |
|---|
| 206 | -type type image type |
|---|
| 207 | -unique-colors discard all but one of any pixel color |
|---|
| 208 | -unsharp geometry sharpen the image |
|---|
| 209 | -version print version information |
|---|
| 210 | -vignette geometry soften the edges of the image in vignette style |
|---|
| 211 | -wave geometry alter an image along a sine wave |
|---|
| 212 | -white-threshold value |
|---|
| 213 | force all pixels above the threshold into white |
|---|
| 214 | |
|---|
| 215 | 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. |
|---|
| 216 | .SH SEE-ALSO |
|---|
| 217 | ImageMagick(1) |
|---|
| 218 | |
|---|
| 219 | .SH COPYRIGHT |
|---|
| 220 | |
|---|
| 221 | \fBCopyright (C) 1999-2007 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/local/share/doc/ImageMagick-6.3.5/www/license.php or http://www.imagemagick.org/script/license.php\fP |
|---|