Question

i want remove Red, Green and Blue contribution from kinticjs drawn image, With help of this link http://www.html5canvastutorials.com/kineticjs/html5-canvas-kineticjs-grayscale-image-tutorial/ gray-scale conversion working good, similarly i need to filter Red, Green and Blue separately.

I am using this kineticjs files kinetic-v5.0.1.js kinetic-v5.0.1.min.js

I have to know how to do this. Please advice Me. Waiting for your reply.

Thanks in Advance.

Was it helpful?

Solution

image.filters([Kinetic.Filters.RGB]);
image.blue(50);
image.red(100);

DEMO

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top