X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=www%2Fconvert.html;h=b664701ffe208072c2178c91ed9fbc67f51dc1ca;hb=29c5c99deece75077feef1d1eccd65dc27ac455c;hp=4bca56235acd399949842867ad2c415b473e5534;hpb=c48acb4a0d996ee968eb86b46ae26be5a841fd2f;p=imagemagick diff --git a/www/convert.html b/www/convert.html index 4bca56235..b664701ff 100644 --- a/www/convert.html +++ b/www/convert.html @@ -1,48 +1,77 @@ - - + + - ImageMagick: Command-line Tools: Convert + ImageMagick: Command-line Tools: Convert - + - + - + - + + + + + + + +
- - [ImageMagick] - - [sponsor] +
+ + +
- + ImageMagick Logo -
@@ -51,7 +80,6 @@ -
@@ -61,6 +89,9 @@
Mac OS X
+
+ iOS +
Windows
@@ -90,7 +121,7 @@ PerlMagick
- Magick++ + Magick++
- Links + Links
- - +
+
+
+

ImageMagick Convert Command-line Tool

Use the convert program to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. See Command Line Processing for advice on how to structure your convert command or see below for example usages of the command.

-

Example Usage

+

Example Usage

We list a few examples of the convert command here to illustrate its usefulness and ease of use. To get started, lets convert an image in the JPEG format to PNG:

@@ -198,7 +243,7 @@

You can combine multiple image-processing operations to produce complex results:

-

$magick> convert -size 320x85 xc:transparent -font Bookman-DemiItalic -pointsize 72 \
+

$magick> convert -size 320x85 canvas:none -font Bookman-DemiItalic -pointsize 72 \
-draw "text 25,60 'Magick'" -channel RGBA -blur 0x6 -fill darkred -stroke magenta \
-draw "text 20,55 'Magick'" fuzzy-magick.png

@@ -209,7 +254,7 @@

-

Option Summary

+

Option Summary

The convert command recognizes these options. Click on an option to get more details about how that option works.

@@ -542,6 +587,11 @@ transparent, extract, background, or shape the alpha channel annotate the image with a graphic primitive + + -duplicate count,indexes + duplicate an image one or more times + + -edge radius apply a filter to detect edges in the image @@ -807,6 +857,11 @@ transparent, extract, background, or shape the alpha channel apply a median filter to the image + + -mode radius + make each pixel the 'predominant color' of the neighborhood + + -modulate value vary the brightness, saturation, and hue @@ -1087,6 +1142,11 @@ transparent, extract, background, or shape the alpha channel increase the contrast without saturating highlights or shadows + + -smush offset + smush an image sequence together + + -size geometry width and height of image @@ -1112,6 +1172,11 @@ transparent, extract, background, or shape the alpha channel displace image pixels by a random amount + + -statistic type geometry + replace each pixel with corresponding statistic from the neighborhood + + -strip strip image of all profiles and comments @@ -1313,7 +1378,7 @@ transparent, extract, background, or shape the alpha channel