Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/opengl/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 4 画布-caman js-特定区域中的图像过滤,而不是整个画布中的图像过滤_Ruby On Rails 4_Html5 Canvas_Camanjs - Fatal编程技术网

Ruby on rails 4 画布-caman js-特定区域中的图像过滤,而不是整个画布中的图像过滤

Ruby on rails 4 画布-caman js-特定区域中的图像过滤,而不是整个画布中的图像过滤,ruby-on-rails-4,html5-canvas,camanjs,Ruby On Rails 4,Html5 Canvas,Camanjs,我正在我的一个rails4项目中使用caman js图像过滤和画布。Caman js颜色影响整个画布,但我的要求是影响画布的特定多个区域。请点击以下链接 This is what i need, color effect (like - grey scale, blur, hue, noise, etc) on the specific marked areas. 请帮我解决这个问题。提前感谢:) I get the wrong result which effect the whole

我正在我的一个rails4项目中使用caman js图像过滤和画布。Caman js颜色影响整个画布,但我的要求是影响画布的特定多个区域。请点击以下链接

This is what i need, color effect (like - grey scale, blur, hue, noise, etc) on the specific marked areas.

请帮我解决这个问题。提前感谢:)

I get the wrong result which effect the whole canvas: