man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

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 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 attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
MT-Safe

See also

mlib_ImageCreate(3MLIB), mlib_ImageCreateStruct(3MLIB), mlib_ImageCreateSubimage(3MLIB), attributes(5)