dmColorSetDefaultAlpha(3dm)dmColorSetDefaultAlpha(3dm)NAME
dmColorSetDefaultAlpha, dmColorGetDefaultAlpha - set/get the default
alpha value of the source image.
SYNOPSIS
#include <dmedia/dm_color.h>
DMstatus dmColorSetDefaultAlpha (const DMcolorconverter converter,
const float defaultAlpha);
DMstatus dmColorGetDefaultAlpha (const DMcolorconverter converter,
float *defaultAlpha);
PARAMETERS
DMcolorconverter converter
The converter upon which the action is to be applied.
float defaultAlpha
The default alpha value.
RETURNED VALUE
DM_COLOR_ERROR_NONE if operation is successful.
DM_COLOR_ERROR_INVALID_CONVERTER if the converter is invalid.
DESCRIPTION
Sets the default alpha value of the source image. This is the alpha
value used if no specific alpha exists for each pixel. For example, a
default alpha is required when converting from CbYCrY to ABGR.
SEE ALSOdmColor(3dm)dmColorConvert(3dm)
Page 1