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

Returns: The blue level

GreenLevelL ( )

IMPORT_C TReal32GreenLevelL()const

Gets the current green level of RgbColorAdjust effect

Returns: The green level

RedLevelL ( )

IMPORT_C TReal32RedLevelL()const

Gets the current red level of RgbColorAdjust effect

Returns: 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

leave
KErrNotReady The effect is not active.
leave
KErrArgument The red level, or green level, or blue level is not in the acceptable range.
ParameterDescription
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.