I would like to do some standard color transformation on a Loader object (Which is used to display a picture) like Sepia, Black & White etc…
I’m currently using methods like this one :
var colorTransformer:ColorTransform = selectedItm.transform.colorTransform;
colorTransformer.redMultiplier = 1/6;
colorTransformer.greenMultiplier = 1/5;
colorTransformer.blueMultiplier = 1/3;
selectedItm.transform.colorTransform = colorTransformer;
But I dont know how obtain a Sepia or a Black and White effect. Is there a function to do this ? If not is there some kind of database which contains “multiplier” to obtains effect ?
You’ll have to explore to fine tune a sepia filter:
Online color transform generators can help for real time tuning:
Online matrix generator:
http://www.onebyonedesign.com/flash/matrixGenerator/