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

Returns: Strength of chrominance

LuminanceStrengthL ( )

IMPORT_C TIntLuminanceStrengthL()const

Gets the current luminance level of colorization effect

Returns: Strength of luminance

ReferenceColorL ( )

IMPORT_C TRgbReferenceColorL()const

Gets the current rgb value of the reference color

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

leave
KErrNotReady The effect is not active.
leave
KErrArgument The luminance or chrominance strength is not in the acceptable range.
ParameterDescription
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.