mlib_ImageDelete(3MLIB) mediaLib Library Functions mlib_ImageDelete(3MLIB)
NAME
mlib_ImageDelete - image delete
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
void mlib_ImageDelete(mlib_image *img);
DESCRIPTION
The mlib_ImageDelete() function deletes the mediaLib image data structure and frees the memory space of the image data only if it is allo-
cated through mlib_ImageCreate(). The data type of the image can be MLIB_BIT, MLIB_BYTE, MLIB_SHORT, MLIB_USHORT, MLIB_INT, MLIB_FLOAT, or
MLIB_DOUBLE.
PARAMETERS
The function takes the following arguments:
img Pointer to mediaLib image structure.
RETURN VALUES
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_ImageCreate(3MLIB), mlib_ImageCreateStruct(3MLIB), mlib_ImageCreateSubimage(3MLIB), attributes(5)
SunOS 5.10 9 Nov 2004 mlib_ImageDelete(3MLIB)