ImageProcessor::TEffectColorization Class Reference

#include <imageprocessor/imageprocessoreffect.h>

Link against: imageprocessor.lib

class ImageProcessor::TEffectColorization : public ImageProcessor::TEffect

Inherits from

Detailed Description

The class provides functions to adjust color tone and luminance/chrominance levels.

Member Function Documentation

ChrominanceStrengthL ( )

IMPORT_C TIntChrominanceStrengthL()const

Gets the current chrominance level of colorization effect

Return Value
Strength of chrominance

LuminanceStrengthL ( )

IMPORT_C TIntLuminanceStrengthL()const

Gets the current luminance level of colorization effect

Return Value
Strength of luminance

ReferenceColorL ( )

IMPORT_C TRgbReferenceColorL()const

Gets the current rgb value of the reference color

Return Value
The rgb value of the reference color

SetColorizationL ( TRgb, TInt, TInt )

IMPORT_C voidSetColorizationL(TRgbaReferenceColor,
TIntaLuminanceStrength,
TIntaChrominanceStrength
)

Specifies the rgb value of reference color and specifies luminance, chrominance level for the colorization effect.

Parameters
aReferenceColorThe rgb value of the reference color.
aLuminanceStrengthThe strength of luminance. Range (-100) - (200), where 0.0 implies no adjustment.
aChrominanceStrengthThe strength of chrominance. Range (-100) - (200), where 0.0 implies no adjustment.
Leave Codes
KErrNotReadyThe effect is not active.
KErrArgumentThe luminance or chrominance strength is not in the acceptable range.