mediaLib Library Functions mlib_ImageDelete(3MLIB)
NAME
mlib_ImageDelete - image delete
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
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 dataonly if it is allocated 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 attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
mlib_ImageCreate(3MLIB), mlib_ImageCreateStruct(3MLIB),
mlib_ImageCreateSubimage(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 1