dmColorSetDefaultAlpha(3dm)			   dmColorSetDefaultAlpha(3dm)
      dmColorSetDefaultAlpha, dmColorGetDefaultAlpha - set/get the default
     alpha value of the	source image.
     #include <dmedia/dm_color.h>
     DMstatus dmColorSetDefaultAlpha (const DMcolorconverter converter,
				      const float	     defaultAlpha);
     DMstatus dmColorGetDefaultAlpha (const DMcolorconverter converter,
					    float	    *defaultAlpha);
     DMcolorconverter converter
	  The converter	upon which the action is to be applied.
     float defaultAlpha
	  The default alpha value.
     DM_COLOR_ERROR_NONE	       if operation is successful.
     DM_COLOR_ERROR_INVALID_CONVERTER  if the converter	is invalid.
     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.
     dmColor(3dm) dmColorConvert(3dm)
									PPPPaaaaggggeeee 1111 [ Back ]
 |