convert - convert an image or sequence of images


convert [__ ''options'' __...? input_file output_file


Convert converts an input file using one image format to an output file with a differing image format. In addition, various types of image processing can be performed on the converted image during the conversion process. Convert recognizes the image formats listed in !ImageMagick(1).


To convert a MIFF image of a cockatoo to a SUN raster image, use:

convert cockatoo.miff sun:cockatoo.ras

To convert a multi-page !PostScript document to individual FAX pages, use:

convert -monochrome fax:page

To convert a TIFF image to a !PostScript A4 page with the image in the lower left-hand corner, use:

convert -page A4+0+0 image.tiff

To convert a raw Gray image with a 128 byte header to a portable graymap, use:

convert -depth 8 -size 768x512+128 gray:raw image.pgm

To convert a Photo CD image to a TIFF image, use:

convert -size 1536x1024 img0009.pcd image.tiff convert img0009.pcd[4? image.tiff

To create a visual image directory of all your JPEG images, use:

convert 'vid:*.jpg' directory.miff

To annotate an image with blue text using font 12x24 at position (100,100), use:

convert -font helvetica -fill blue -draw

To tile a 640x480 image with a JPEG texture with bumps use:

convert -size 640x480 tile:bumps.jpg tiled.png

To surround an icon with an ornamental border to use with Mosaic(1)?, use:

convert -mattecolor

To create a MNG animation from a DNA molecule sequence, use:

convert -delay 20 dna.* dna.mng


Options are processed in command line order. Any option you specify on the command line remains in effect for the set of images that follows, until the set is terminated by the appearance of any option or -noop. Some options only affect the decoding of images and others only the encoding. The latter can appear after the final group of input images.

For a more detailed description of each option, see !ImageMagick(1).


join images into a single multi-image file


drawing transform matrix


remove pixel aliasing


append a set of images


average a set of images


the background color


blur the image with a gaussian operator


surround the image with a border of color


the border color


set the color of the annotation bounding box


megabytes of memory available to the pixel cache


the type of channel


simulate a charcoal drawing


remove pixels from the interior of an image


apply the clipping path, if one is present


merge a sequence of images


colorize the image with the pen color


preferred number of colors in the image


the type of colorspace


annotate an image with a comment


the type of image composition


the type of image compression


enhance or reduce the image contrast


preferred size and location of the cropped image


displace image colormap by amount


enable debug printout


break down an image sequence into constituent parts


display the next image after pausing


vertical and horizontal resolution in pixels of the image


depth of the image


reduce the speckles within an image


specifies the X server to contact


GIF disposal method


apply Floyd/Steinberg error diffusion to the image


annotate an image with one or more graphic primitives


detect edges within an image


emboss an image


specify endianness (MSB or LSB) of output image


apply a digital filter to enhance a noisy image


perform histogram equalization to the image


color to use when filling a graphic primitive


use this type of filter when resizing an image


flatten a sequence of images


create a


create a


use this font when annotating the image with text


surround the image with an ornamental border


colors within this distance are considered equal


level of gamma correction


blur the image with a gaussian operator


preferred size and location of the Image window.


direction primitive gravitates to when annotating the image.


print usage instructions


implode image pixels about the center


use this type of rendering intent when managing the image color


the type of interlacing scheme


assign a label to an image


adjust the level of image contrast


the type of list


add Netscape loop extension to your GIF animation


choose a particular set of colors from this image


Specify a clipping mask


store matte channel if the image has one


apply a median filter to the image


vary the brightness, saturation, and hue of an image


transform the image to black and white


morphs an image sequence


create a mosaic from an image sequence


replace every pixel with its complementary color


add or reduce noise in an image


NOOP (no option)


transform image to span the full range of color values


change this color to the pen color within the image


size and location of an image canvas


simulate an oil painting


specify the pen color for drawing operations


efficiently determine image characteristics


pointsize of the Postscript, OPTION1, or !TrueType font


image preview type


process a sequence of images


add ICM, IPTC, or generic profile to image


JPEG/MIFF/PNG compression level


lighten or darken image edges


apply options to a portion of the image


resize and locate an image

-roll {+-}

roll an image vertically or horizontally


apply Paeth image rotation to the image


scale image with pixel sampling


sampling factors used by JPEG encoder.


scale the image.


set scene number


pseudo-random number generator seed value


segment an image


shade the image using a distant light source


sharpen the image


shave pixels from the image edges


shear the image along the X or Y axis


width and height of the image


negate all pixels above the threshold level


displace image pixels by a random amount


color to use when stroking a graphic primitive


set the stroke width


swirl image pixels about the center


name of texture to tile onto the image background


threshold the image


tile image when filling a graphic primitive


make this color transparent within the image


tree depth for the color reduction algorithm


trim an image


the image type


the type of image resolution


sharpen the image with an unsharp mask operator


use the pixmap


print detailed information about the image


FlashPix? viewing parameters


alter an image along a sine wave


write an image sequence

Fatal Error:

lib/CachedMarkup.php (In template 'browse' < 'body' < 'html'):257: Error: Pure virtual

Fatal PhpWiki Error

lib/CachedMarkup.php (In template 'browse' < 'body' < 'html'):257: Error: Pure virtual