ImageProcessor::TEffectRgbColorAdjust Class Reference

#include <imageprocessor/imageprocessoreffect.h>

Link against: imageprocessor.lib

class ImageProcessor::TEffectRgbColorAdjust : public ImageProcessor::TEffect

Inherits from

Detailed Description

The class provides functions to adjust the RGB color composition of an image

Member Function Documentation

BlueLevelL ( )

IMPORT_C TReal32BlueLevelL()const

Gets the current blue level of RgbColorAdjust effect

Return Value
The blue level

GreenLevelL ( )

IMPORT_C TReal32GreenLevelL()const

Gets the current green level of RgbColorAdjust effect

Return Value
The green level

RedLevelL ( )

IMPORT_C TReal32RedLevelL()const

Gets the current red level of RgbColorAdjust effect

Return Value
The red level

SetRGBLevelL ( TReal32, TReal32, TReal32 )

IMPORT_C voidSetRGBLevelL(TReal32aRedLevel,
TReal32aGreenLevel,
TReal32aBlueLevel
)

Specifies the red, green and blue level for the current RgbColorAdjust effect

Parameters
aRedLevelThe red channel adjustment. Range (-1.0) - (1.0), where 0.0 implies no adjustment.
aGreenLevelThe green channel adjustment. Range (-1.0) - (1.0), where 0.0 implies no adjustment.
aBlueLevelThe blue channel adjustment. Range (-1.0) - (1.0), where 0.0 implies no adjustment.
Leave Codes
KErrNotReadyThe effect is not active.
KErrArgumentThe red level, or green level, or blue level is not in the acceptable range.