mediaLib Library Functions mlibImageCopy(3MLIB)
NAME
mlibImageCopy - image copy
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibImageCopy(mlibimage *dst, const mlibimage *src);
DESCRIPTION
The mlibImageCopy() function copies the source image to the
destination image. The data type of the images can be
MLIBIT, MLIBYTE, MLIBSHORT, MLIBUSHORT, MLIBINT,
MLIBFLOAT, or MLIBDOUBLE.
It uses the following equation:
dst[x][y][i] = src[x][y][i]
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
RETURN VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibImageCopy(3MLIB)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibImageCopyArea(3MLIB), mlibImageCopyMask(3MLIB),
mlibImageCopyMaskFp(3MLIB), mlibImageCopySubimage(3MLIB),
attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|