JavaScript图像处理库 CamanJS

jopen 12年前

CamanJS 是一个使用 HTML5 Canvas 和 JavaScript 实现的用来对图像进行处理的 JavaScript库,提供一些易用接口来对图像进行处理,例如加亮等等。
JavaScript图像处理库 CamanJS
The main focus of CamanJS is manipulating images using the HTML5 canvas and Javascript. It's a combination of a simple-to-use interface with advanced and efficient image/canvas editing techniques. It is also completely library independent and can be safely used next to jQuery, YUI, Scriptaculous, MooTools, etc.

 

JavaScript图像处理库 CamanJS

示例代码:

<script type="text/javascript" src="caman.full.min.js"></script>    <script type="text/javascript">  Caman("images/example-image.jpg", "#example-canvas", function () {   this    .saturation(20)    .gamma(1.4)    .vintage()    .contrast(5)    .exposure(15)    .vignette(300, 60)    .render();  });  </script>    <canvas id="#example-canvas"></canvas>

项目主页:http://www.open-open.com/lib/view/home/1338109212011