Cama njs 介绍
Cama njs 是 一个 基于 Canvas 处理 图片 的 JavaScript 库,结合简单易用的接口和先进高效的图像编辑技术。Cama njs 很容易扩展新的过滤器和 插件 ,并伴随着一系列广泛的图像编辑 功能 。它是完全独立的库, 支持 工作在 Nodejs 和浏览器。
Cama njs 使用?
Caman("#image-id",function () {
this.bright nes s(10);
this.contrast(20);
this.render(function () {
alert("Done!");
});
});
html:
<img data-caman="saturation(-10) bright nes s(20) vignette('10%')" src="path/to/image.jpg">
网站地址 : http://camanjs.com
GitHub: https://github.com/meltingice/CamanJS
网站描述: 提供各种 图片 处理的 JavaScript 库
CamanJS官方网站
官方网站: http://camanjs.com
如果觉得 网站内容还不错,欢迎将 网站 推荐给程序员好友。
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did176585