[英]In jcanvas how to manipulate drawImage layer to apply instagram like filters on the image
I have drawn a image on canvas using jcanvas drawImage method and this image is a layer 我已经使用jcanvas drawImage方法在画布上绘制了图像,并且该图像是一层
//Js part // js部分
$('canvas').drawImage({
source: 'js/BN44094.jpg',
layer: true,
x: 0, y: 0,
width: 800,
height: 400,
name: 'backImage',
fromCenter: false
});
//Html Part // HTML部分
<canvas id="canvas" width=800 height=400></canvas>
I want to apply instagram like image filters on this image, can some one guide me with this?? 我想在图像上应用instagram之类的图像过滤器,有人可以用这个指导我吗?
看一下这个非常清楚的解释 ,然后根据您的需要,可以执行简单的 操作, 例如绿色滤镜和用于高级卷积的像素处理
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.