mlib_ImageColorTrue2IndexFmediaLibBLibrarymlib_ImageColorTrue2IndexFree(3MLIB)NAMEmlib_ImageColorTrue2IndexFree - releases the internal data structure
for true color to indexed color conversion
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
void mlib_ImageColorTrue2IndexFree(void *colormap);
DESCRIPTION
The mlib_ImageColorTrue2IndexFree() function releases the internal data
structure, colormap, which was created by mlib_ImageColorTrue2Index‐
Init() and was used by one of the following functions:
mlib_ImageColorTrue2Index
mlib_ImageColorErrorDiffusion3x3
mlib_ImageColorOrderedDither8x8
PARAMETERS
The function takes the following arguments:
colormap Internal data structure for inverse color mapping.
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_ImageColorErrorDiffusion3x3(3MLIB), mlib_ImageColorOrdered‐
Dither8x8(3MLIB), mlib_ImageColorTrue2Index(3MLIB), mlib_ImageCol‐
orTrue2IndexInit(3MLIB), attributes(5)SunOS 5.10 2 Mar 20mlib_ImageColorTrue2IndexFree(3MLIB)