0

Is there any way to get image brightness and contrast using jQuery ?

I have to change Image brightness and contrast using Jquery.So first I want to see what is default brightness and contrast of image is.

user2307273
  • 29
  • 2
  • 9

1 Answers1

1

It is easiest to use a prerolled JS library...

Shanimal
  • 11,517
  • 7
  • 63
  • 76
  • thanks for this url @Shanimal. I was looking something like it since morning and just got Pixastic but it's not working fine for me. I am going to try it which you suggest me If any problem occurs Please help me. – user2307273 May 15 '13 at 12:09
  • @user2307273 there are many good libraries out there, some solutions are on the server side. I usually prefer the browser based solutions but if you need compatiblity across devices (ios) and older browsers you should go with a server side solution. – Shanimal May 15 '13 at 12:13
  • @Shanimal Please give me server side solutions too. – user2307273 May 15 '13 at 12:17
  • This glfx.js does not support webGl and it is problem in most of the browser. Please give me any other solution. – user2307273 May 30 '13 at 08:44
  • There's options out there. a) pixastic (as you mentioned) b) detect WebGL and instruct users to turn it on c) server side (imagemagick, imagefilter, etc...) d) flash (which I used to develop 2d+3d photo transitions professionally for several years e) css filters. Which direction do you want to go? – Shanimal May 30 '13 at 14:42