1

I was wondering if there is a way to change an image color scale in JavaScript? Say you want to make it warmer or cooler depending upon the user's input. If there is a way in jquery or html5 that would be fine as well. Anyone know how to accomplish something like this?

Izzy
  • 6,740
  • 7
  • 40
  • 84
FairyQueen
  • 2,283
  • 7
  • 37
  • 57

3 Answers3

0

HTML 5 has lot more features than what you just looking for. Anyhow the CANVAS container is the solution that i could say, where you can play with the color, pixels of image. . Have a look at this this. Hope this can help you to start

iDroid
  • 1,140
  • 1
  • 13
  • 30
0

Maybe not in jquery itself but there is very cool js library for manipulating images called pixastic. http://www.pixastic.com/ Try to search documentation for option you need exactly.

shark555
  • 2,562
  • 1
  • 20
  • 10
0

My guess is you want to change the saturation. I tried Pixastic but it's broken in my browsers, Chrome, Opera and IE7.

Caman JS looks like it delivers, at least judging from the demo page

http://camanjs.com/examples

Tina CG Hoehr
  • 6,721
  • 6
  • 44
  • 57