ImageProcessor::TEffectColorization Class Reference

class ImageProcessor::TEffectColorization : public ImageProcessor::TEffect

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

Inherits from

Constructor & Destructor Documentation

TEffectColorization(Plugin::MEffect &, CImageProcessorImpl &)

TEffectColorization(Plugin::MEffect &aEffect,
CImageProcessorImpl &aImageProcessorImpl
)[private]

Parameters

Plugin::MEffect & aEffect
CImageProcessorImpl & aImageProcessorImpl

Member Functions Documentation

ChrominanceStrengthL()

IMPORT_C TIntChrominanceStrengthL()const

Gets the current chrominance level of colorization effect

LuminanceStrengthL()

IMPORT_C TIntLuminanceStrengthL()const

Gets the current luminance level of colorization effect

ReferenceColorL()

IMPORT_C TRgbReferenceColorL()const

Gets the current 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.

leave
KErrNotReady The effect is not active.
leave
KErrArgument The luminance or chrominance strength is not in the acceptable range.

Parameters

TRgb aReferenceColorThe rgb value of the reference color.
TInt aLuminanceStrengthThe strength of luminance. Range (-100) - (200), where 0.0 implies no adjustment.
TInt aChrominanceStrengthThe strength of chrominance. Range (-100) - (200), where 0.0 implies no adjustment.