- 追加された行はこの色です。
- 削除された行はこの色です。
- CamanJS へ行く。
[[Graphics]]
- http://camanjs.com/
-- http://camanjs.com/docs/
- https://github.com/meltingice/CamanJS
-- http://camanjs.com/guides/#AdvancedUsage
- Javascript
Caman('#my-image', function () {
this.brightness(10);
this.contrast(30);
this.sepia(60);
this.saturation(-30);
this.render();
});
- HTML data attribute
<img
data-caman="brightness(10) contrast(30) sepia(60) saturation(-30)"
data-caman-hidpi="/path/to/image@2x.jpg"
src="path/to/image.jpg"
>
*. [#ef35c6bb]
http://camanjs.com/