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