dmColorConvert(3dm)dmColorConvert(3dm)NAMEdmColorConvert - performs the actual image conversion.
SYNOPSIS
#include <dmedia/dm_color.h>
DMstatus dmColorConvert (const DMcolorconverter converter,
void *srcImage,
void *dstImage);
PARAMETERS
DMcolorconverter converter
The converter upon which the action is to be applied.
RETURNED VALUE
DM_COLOR_ERROR_NONE if operation is successful.
DM_COLOR_ERROR_OUT_OF_MEMORY if insufficient memory is available.
DM_COLOR_ERROR_INVALID_CONVERTER if the converter is invalid.
DM_COLOR_ERROR_INVALID_SRC if srcImage == NULL.
DM_COLOR_ERROR_INVALID_DST if dstImage == NULL.
DM_COLOR_ERROR_INVALID_DIMENSION if the height or width < 0.
DESCRIPTION
This routine performs the actual conversion taking srcImage as a pointer
to the source image, and dstImage as a pointer to the destination image.
SEE ALSOdmColor(3dm)dmColorCreate(3dm)dmColorDestroy(3dm)dmColorPrecompute(3dm)
Page 1