icompose(1X)
NAME
icompose - compose two images into one
SYNTAX
icompose background foreground x y
ARGUMENTS
background Specifies the name of the file, previously created with the savimg command, that contains the background image.
foreground Specifies the name of the file, previously created with the savimg command, that contains the foreground image.
x Specifies the starting x coordinate (pixels) on the background image where the foreground image is to be overlayed.
y Specifies the starting y coordinate (pixels) on the background image where the foreground image is to be overlayed.
DESCRIPTION
The icompose command composes a new image from the named background and foreground images. Starting at the specified coordinates in the named background image, icompose overlays the named foreground image. The resulting new image is the background image with the overlapping portion of the foreground image superimposed on it.
RESTRICTIONS
Unless otherwise redirected to a file or piped to another image process, all output is displayed as raw data at your terminal.
EXAMPLES
icompose image1 image2 240 500 > image3
This command, starting 240 pixels from the left and 500 pixels from the top in image1, overlays image2 and redirects the resulting image to image3.
FILES
/usr/include/imghdr.h Defines the image file format.