dmColorSetContrast dmColorSetContrast
dmColorSetContrast, dmColorGetContrast - set/get the contrast multiplier.
#include <dmedia/dm_color.h>
DMstatus dmColorSetContrast (const DMcolorconverter converter,
const float contrast);
DMstatus dmColorGetContrast (const DMcolorconverter converter,
float *contrast);
DMcolorconverter converter
The converter upon which the action is to be applied.
float contrast
The contrast multiplier.
DM_COLOR_ERROR_NONE if operation is successful.
DM_COLOR_ERROR_INVALID_CONVERTER if the converter is invalid.
Sets the contrast multiplier. Contrast=1 implies normal contrast
(default), Contrast=2 implies double contrast, etc.
dmColorSetBrightness(3dm) dmColorSetSaturation(3dm) dmColorSetHue(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|