Top > CamanJS

Graphics

  • 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"
     >

.

http://camanjs.com/


Reload   Diff   Front page List of pages Search Recent changes Backup Referer   Help   RSS of recent changes
Last-modified: Thu, 18 Mar 2021 21:26:54 JST (1127d)