I am trying to integrate some pixel bender effects with an application that I created. I have the following code that is giving me problems.
public function blackwhite()
{
//Pass the loaded filter to the Shader as a ByteArray
var shader:Shader = new Shader(new TestFilter() as ByteArray);
[login to view URL] = [100];
var filter:ShaderFilter = new ShaderFilter(shader);
var im = [login to view URL];
//add the filter to the image
[login to view URL] = [filter];
}
Just need someone to integrate the effect. PM me for me info. Pretty simple
Please check pmb . you just have some minor error on code .
Check my sample image editor application i used Pixel blender for that .
Thank you
Mavdeveloper .