Functions / imageData filter
filter(filterName, type)
filter(string filterName, string type)
filter(string filterName, string type)

You can use default filters: color filter with types 'red', 'green' and 'blue' and linear filter with types 'sharp' and 'blur' or add your own with addImageDataFilter function.
filter(string filterName, string type)
return: object
Linear filter, type 'sharp'
Code
<script type="text/javascript">
	function onload_1(idCanvas)
	{
		var img=new Image();
		img.src="/data/images/pic.png";
		img.onload=function(){
		jc.start(idCanvas);
		jc.image(img,100,100,100,100);
		jc.start(idCanvas);
		jc.imageData(100,100)
			.getData(100,100,100,100)
			.filter('linear','sharp')
			.putData(0,0);
		jc.start(idCanvas);
		}
	}
</script>
<canvas id="canvas_1" width="250px" height="265px"></canvas>
View
filter(string filterName, string type)
return: object
Code
<script type="text/javascript">
	function onload_2(idCanvas)
	{
		var img=new Image();
		img.src="/data/images/pic.png";
		img.onload=function(){
		jc.start(idCanvas);
		jc.image(img,100,100,100,100);
		jc.start(idCanvas);
		jc.imageData(100,100)
			.getData(100,100,100,100)
			.filter('color','blue')
			.putData(0,0);
		jc.start(idCanvas);
		}
	}
</script>
<canvas id="canvas_2" width="250px" height="265px"></canvas>
View