composite - composite images together.


composite [__ ''options'' __...? image composite [__ ''mask'' __? composited


composite composite images to create new images.

The optional mask can be used to provide matte information for composite when it has none or if you want a different mask. A mask image is typically grayscale and the same size as composite. If the image is not grayscale, it is converted to grayscale and the resulting intensities are used as matte information.

If composited already exists, you will be prompted as to whether it should be overwritten.


To composite an image of a cockatoo with a perch, use:

composite cockatoo.miff perch.ras composite.miff

To compute the difference between images in a series, use:

composite -compose difference series.1 series.2 difference.miff

To composite an image of a cockatoo with a perch starting at location (100,150), use:

composite -geometry +100+150 cockatoo.miff perch.ras composite.miff

To tile a logo across your image of a cockatoo, use

convert +shade 30x60 cockatoo.miff mask.miff composite

  • compose bumpmap -tile logo.png cockatoo.miff mask.miff


To composite a red, green, and blue color plane into a single composite image, try

composite -compose !CopyGreen? red.png green.png red-green.png composite -compose !CopyBlue? red-green.png blue.png composite.png


Options are processed in command line order. Any option you specify on the command line remains in effect only for the image that follows. All options are reset to their default values after each image is read.

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


the background color


megabytes of memory available to the pixel cache


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


enable debug printout


vertical and horizontal resolution in pixels of the image


depth of the image


shift image pixels as defined by a displacement map


specifies the X server to contact


GIF disposal method


dissolve an image into another by the given percent


apply Floyd/Steinberg error diffusion to the image


specify endianness (MSB or LSB) of output image


use this type of filter when resizing an image


use this font when annotating the image with text


preferred size and location of the Image window.


direction primitive gravitates to when annotating the image.


print usage instructions


the type of interlacing scheme


assign a label to an image


store matte channel if the image has one


transform the image to black and white


replace every pixel with its complementary color


size and location of an image canvas


add ICM, IPTC, or generic profile to image


JPEG/MIFF/PNG compression level


resize and locate an image


apply Paeth image rotation to the image


sampling factors used by JPEG encoder.


set scene number


sharpen the image


width and height of the image


hide watermark within an image


composite two images to create a stereo anaglyph


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


print detailed information about the image


percent brightness and saturation of a watermark


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