Skip to content

Instantly share code, notes, and snippets.

@meltingice
Created November 12, 2010 15:57
Show Gist options
  • Save meltingice/674256 to your computer and use it in GitHub Desktop.
Save meltingice/674256 to your computer and use it in GitHub Desktop.
/*
* CamanJS image modification example
*/
Caman('path/to/image.jpg', '#canvas-id', function () {
this.brightness(20);
this.contrast(5);
this.saturation(-25);
this.hue(120);
this.colorize('#AF3D15', 30);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment