mlib_ImageDelete(3MLIB) mediaLib Library Functions mlib_ImageDelete(3MLIB)NAMEmlib_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 struc‐
ture 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 │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOmlib_ImageCreate(3MLIB), mlib_ImageCreateStruct(3MLIB), mlib_ImageCre‐
ateSubimage(3MLIB), attributes(5)SunOS 5.11 2 Mar 2007 mlib_ImageDelete(3MLIB)