Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine: The source for advanced Linux know-how

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 56 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       composite [ options ... ] image composite [ mask ] compos­


       composite composite images to create new images.   compos­
       ite  is  the  base  image  and image contains the changes.
       composited is the result, and normally has the same dimen­
       sions as composite.

       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 mask is not grayscale,  it  is  con­
       verted to grayscale and the resulting intensities are used
       as matte information.


       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.2 series.1

       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 composite.miff

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

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


       Options  are  processed  in command line order. Any option
       you specify on the command line remains in effect only for
              blue chromaticity primary point

       -cache <threshold>
              (This  option  has  been  replaced  by  the  -limit

       -colors <value>
              preferred number of colors in the image

       -colorspace <value>
              the type of colorspace

       -comment <string>
              annotate an image with a comment

       -compose <operator>
              the type of image composition

       -compress <type>
              the type of image compression

       -debug <events>
              enable debug printout

       -density <width>x<height>
              vertical and horizontal resolution in pixels of the

       -depth <value>
              depth of the image

       -displace <horizontal scale>x<vertical scale>
              shift image pixels as defined by a displacement map

       -display <host:display[.screen]>
              specifies the X server to contact

       -dispose <method>
              GIF disposal method

       -dissolve <percent>
              dissolve an image into another by the given percent

              apply Floyd/Steinberg error diffusion to the image

       -encoding <type>
              specify the text encoding

       -endian <type>
              specify endianness (MSB or LSB) of output image

              the image.

       -green-primary <x>,<y>
              green chromaticity primary point

       -help  print usage instructions

       -interlace <type>
              the type of interlacing scheme

       -label <name>
              assign a label to an image

       -limit <type> <value>
              Disk, File, Map, or Memory resource limit

       -log <string>

       -matte store matte channel if the image has one

              transform the image to black and white

              replace every pixel with its complementary color

       -page <width>x<height>{+-}<x>{+-}<y>{%}{!}{<}{>}
              size and location of an image canvas

       -profile <filename>
              add ICM, IPTC, or generic profile  to image

       -quality <value>
              JPEG/MIFF/PNG compression level

       -red-primary <x>,<y>
              red chromaticity primary point

              render vector operations

       -resize <width>x<height>{%}{@}{!}{<}{>}
              resize an image

       -rotate <degrees>{<}{>}
              apply Paeth image rotation to the image

       -sampling-factor <horizontal_factor>x<vertical_factor>
              sampling factors used by JPEG or MPEG-2 encoder and
              YUV decoder/encoder.

       -scene <value>
       -treedepth <value>
              tree depth for the color reduction algorithm

       -trim  trim an image

       -type <type>
              the image type

       -units <type>
              the type of image resolution

       -unsharp <radius>{x<sigma>}{+<amount>}{+<threshold>}
              sharpen the image with an unsharp mask operator

              print detailed information about the image

              print ImageMagick version string

       -watermark <brightness>x<saturation>
              percent brightness and saturation of a watermark

       -white-point <x>,<y>
              chromaticity white point

       -write <filename>
              write  an image sequence [convert, composite]

              For a more detailed description of each option, see


              To  get  the  default  host,  display  number,  and


       animate(1),   display(1),  conjure(1),  convert(1),  iden­
       tify(1), ImageMagick(1), import(1), mogrify(1), montage(1)


       Copyright (C) 2003 ImageMagick Studio

       Permission  is hereby granted, free of charge, to any per­
       son obtaining a copy of this software and associated docu­
       mentation  files  ("ImageMagick"),  to deal in ImageMagick
       without  restriction,  including  without  limitation  the
       rights  to  use, copy, modify, merge, publish, distribute,
       sublicense, and/or sell copies of ImageMagick, and to per­
       the use or other dealings in ImageMagick.

       Except  as  contained  in  this  notice,  the  name of the
       ImageMagick Studio LLC shall not be used in advertising or
       otherwise  to  promote  the sale, use or other dealings in
       ImageMagick without prior written authorization  from  the
       ImageMagick Studio.


       John Cristy, ImageMagick Studio LLC,
       Glenn Randers-Pehrson, ImageMagick Studio LLC.

ImageMagick         Date: 2003/01/01 01:00:00        composite(1)
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.11 Seconds