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.

有帮助吗?

解决方案

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

DEMO

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top