
Standalones
composite [-a]
[-b <red> <green> <blue>]
[-S <width> <height>]
[-p <pixel ratio>]
<output file>
[-r <repeat count>]
[-s <start frame> <end frame> <step>]
[-d] [-v] [-Z]
[-F|-E|-O ]
{ <layer>
[<start frame>] [-F|-E|-O ]
[ -c | -o | -f <fact> [-e <end fact>] |
-h <radius> <fact> | -B | -C | -D | -N | -P ]
[-x <xoff>] [-y <yoff>] | [-X <end xoff>] [-Y <end yoff>] ...}
<output file> is the name you want to give to the final picture.
<layer> is the name of a layer to add to the final image. Use the corresponding <start frame> to specify the starting frame of the <layer> sequence.
Note: When compositing sequences, you can add a single still frame as a layer by appending the extension .0 (zero) to the layer name.
-a
-b
-S
-p
-r
-s
-d
-v
-Z.Zpic file for each layer. Do not type the extension at the end of the layer name. In addition, you must specify the -c option for all layers that you want to composite.
-F
-E
-O
-c-Z option is specified.
-o
-f
-e
-h<radius> is the width of the halo, and <fact> is the blending factor which determines the strength of the halo effect.
-B
-C
-D
-N
-P
-x
-y
-X
-Y
tore.pic and cone.pic) using information in the Z channels. It offsets the first layer by 100 pixels from the left and 100 pixels from the bottom, and offsets the second layer by 50 pixels from the left and 50 pixels from the bottom. It also displays verbose messages while running.
composite -v -Z res tore -c -x 100 -y 100 cone -c -x 50 -y 50The following example composites two sequences of images (
spin1 and spin2) with a step of 2; this means that images spin1.1.pic, spin1.3.pic, etc., will be used. The result will be a sequence of images named res.1.pic, res.3.pic, etc. The other options specify to use Z channels, to run in verbose mode, and to display the final image.
composite -v -d -Z res -s 1 25 2 spin1 -c spin2 -cThe following example composites
imageB.1 onto a white background in video size. The new image is called imageA. The -c option is needed because the first layer is not composited by default.
composite -v -b 1 1 1 -S 720 486 imageA imageB.1 -c
The following example crops an image (logo.1) to 720 x 60, and writes this to a file called logo.final.
composite -S 720 60 logo.final -v logo.1The following example composites
logo.shadow and logo.original, and creates logo.final. The option -b 1 1 1 colours the background white. The layer logo.shadow is composited using the -c option to force use of the alpha channel over the coloured background. The -x and -y parameters specify offsets for logo.shadow. The layer logo.original does not require the -c option because it is the second layer specified and is therefore composited by default.
composite -b 1 1 1 -v logo.final logo.shadow -c -x 2 -y -2 logo.originalThe following examples show the appropriate parameters for cropping
imageA.1 to the appropriate size for the safe title area at different resolutions.
composite -S 1024 70 logo1k -v imageA.1 composite -S 2048 140 logo2k -v imageA.1 composite -S 4096 280 logo4k -v imageA.1 composite -S 6144 420 logo6k -v imageA.1 composite -S 8192 560 logo8k -v imageA.1The following example composites
background and foreground as if they were two superimposed slides, and saves the result as finalimage.
composite -v finalimage background foreground -PThe following example simply merges two layers to give a straightforward composite. The result is called
imageA. The background image is imageB.1 and the foreground image is imageC.1. The -v option displays information while the standalone is running.
composite -v imageA imageB.1 imageC.1The following example shows how to crop 100 pixels from the edges of a 1000 x 1000 pixel image, leaving the centre 800 x 800 pixels.
composite -S 800 800 output input -x 100 -y 100The following example fades from scene_1 to scene_2 for 100 frames. The mix begins with frame 500 of scene_1 and frame 1 of scene_2.
composite output -s 1 100 1 scene_1 500 scene_2 1 -f 0 -e 1
composite output -s 1 10 1 -E layer1 -E layer2 -EThe output of this command is also a sequence of field images. You can view the output sequence using flipbook:
flipbook output 1 -ETo view the first image in the sequence, you use showpic or display:
showpic output.1 -E display output.1 -E

Generated with Harlequin WebMaker