overlay(3NCURSES) overlay(3NCURSES)
NAME
overlay, overwrite, copywin - overlay and manipulate overlapped curses windows
SYNOPSIS
#include <curses.h>
int overlay(const WINDOW *srcwin, WINDOW *dstwin);
int overwrite(const WINDOW *srcwin, WINDOW *dstwin);
int copywin(const WINDOW *srcwin, WINDOW *dstwin, int sminrow,
int smincol, int dminrow, int dmincol, int dmaxrow,
int dmaxcol, int overlay);
DESCRIPTION
The overlay and overwrite routines overlay srcwin on top of dstwin. scrwin and dstwin are
not required to be the same size; only text where the two windows overlap is copied. The
difference is that overlay is non-destructive (blanks are not copied) whereas overwrite is
destructive.
The copywin routine provides a finer granularity of control over the overlay and overwrite
routines. Like in the prefresh routine, a rectangle is specified in the destination win-
dow, (dminrow, dmincol) and (dmaxrow, dmaxcol), and the upper-left-corner coordinates of
the source window, (sminrow, smincol). If the argument overlay is true, then copying is
non-destructive, as in overlay.
RETURN VALUE
Routines that return an integer return ERR upon failure, and OK (SVr4 only specifies "an
integer value other than ERR") upon successful completion.
X/Open defines no error conditions. In this implementation, copywin, overlay and over-
write return an error if either of the window pointers are null, or if some part of the
window would be placed off-screen.
NOTES
Note that overlay and overwrite may be macros.
PORTABILITY
The XSI Curses standard, Issue 4 describes these functions (adding the const qualifiers).
It further specifies their behavior in the presence of characters with multibyte rendi-
tions (not yet supported in this implementation).
SEE ALSO
ncurses(3NCURSES), pad(3NCURSES), refresh(3NCURSES)
overlay(3NCURSES)
composite(1) composite(1)
NAME
composite - overlaps one image over another.
SYNOPSIS
composite [ options ... ] change-file base-file [ mask-file ] output-image
OVERVIEW
The composite program is a member of the ImageMagick(1) suite of tools. Use it to overlap
one image over another.
For more information about the composite command, point your browser to
file:///usr/share/doc/ImageMagick-6.3.7/www/composite.html or http://www.imagemag-
ick.org/script/composite.php.
DESCRIPTION
Image Settings:
-affine matrix affine transform matrix
-authenticate value decrypt image with this password
-blue-primary point chromaticity blue primary point
-channel type apply option to select image channels
-colorspace type alternate image colorspace
-comment string annotate image with comment
-compose operator composite operator
-compress type type of pixel compression when writing the image
-define format:option
define one or more image format options
-depth value image depth
-density geometry horizontal and vertical density of the image
-display server get image or font from this X server
-dispose method layer disposal method
-dither apply Floyd/Steinberg error diffusion to image
-encoding type text encoding type
-endian type endianness (MSB or LSB) of the image
-filter type use this filter when resizing an image
-font name render text with this font
-format "string" output formatted image characteristics
-gravity type which direction to gravitate towards
-green-primary point chromaticity green primary point
-interlace type type of image interlacing scheme
-interpolate method pixel color interpolation method
-label string assign a label to an image
-limit type value pixel cache resource limit
-matte store matte channel if the image has one
-monitor monitor progress
-page geometry size and location of an image canvas (setting)
-quality value JPEG/MIFF/PNG compression level
-quiet suppress all warning messages
-red-primary point chromaticity red primary point
-regard-warnings pay attention to warning messages
-sampling-factor geometry
horizontal and vertical sampling factor
-scene value image scene number
-seed value seed a new sequence of pseudo-random numbers
-size geometry width and height of image
-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
-transparent-color color
transparent color
-treedepth value color tree depth
-tile repeat composite operation across and down image
-units type the units of image resolution
-verbose print detailed information about the image
-virtual-pixel method
virtual pixel access method
-white-point point chromaticity white point
Image Operators:
-blend geometry blend images
-colors value preferred number of colors in the image
-displace geometry shift image pixels defined by a displacement map
-dissolve value dissolve the two images a given percent
-extract geometry extract area from image
-geometry geometry location of the composite image
-identify identify the format and characteristics of the image
-monochrome transform image to black and white
-negate replace every pixel with its complementary color
-profile filename add ICM or IPTC information profile to image
-quantize colorspace reduce colors in this colorspace
-repage geometry size and location of an image canvas (operator)
-rotate degrees apply Paeth rotation to the image
-resize geometry resize the image
-sharpen geometry sharpen the image
-stegano offset hide watermark within an image
-stereo combine two image to create a stereo anaglyph
-strip strip image of all profiles and comments
-thumbnail geometry create a thumbnail of the image
-transform affine transform image
-type type image type
-unsharp geometry sharpen the image
-watermark geometry percent brightness and saturation of a watermark
-write filename write images to this file
Miscellaneous Options:
-debug events display copious debugging information
-help print program options
-log format format of debugging information
-list type print a list of supported option arguments
-version print version information
By default, the image format of `file' is determined by its magic number. To specify a
particular image format, precede the filename with an image format name and a colon (i.e.
ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify
'file' as '-' for standard input or output.
SEE ALSO
ImageMagick(1)
COPYRIGHT
Copyright (C) 1999-2008 ImageMagick Studio LLC. Additional copyrights and licenses apply
to this software, see file:///usr/share/doc/ImageMagick-6.3.7/www/license.php or
http://www.imagemagick.org/script/license.php
ImageMagick Date: 2005/03/01 01:00:00 composite(1)
Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-25 15:17 @38.107.179.240 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)