Milos
Milos

Reputation: 543

Image manipulation with javascript

I need the best way to manipulate with image in web browser with javascript. How create script which will change brightness or contrast. I google a little but i can find any acceptable solution.

Upvotes: 1

Views: 3606

Answers (5)

Mario
Mario

Reputation: 81

Check CamanJS.
It is very flexible and powerful.

Upvotes: 6

Joe Mills
Joe Mills

Reputation: 1619

I'd say your best option here is to use something like flash, java, etc. JavaScript MIGHT be able to do this, but it will never be able to do it WELL. It is better to use a technology that has the power to do what you are asking without being stretched to it's limit.

Upvotes: 0

Mic
Mic

Reputation: 25184

If your audience have modern browsers you can use the <canvas> tag.

Here is a tutorial: https://developer.mozilla.org/en/Canvas_tutorial

Upvotes: 5

anthares
anthares

Reputation: 11223

Look at library: http://www.pixastic.com/

Upvotes: 2

rook
rook

Reputation: 67004

This is not possible with javascript. You need to use GDLib or some other server side image manipulation library.

Upvotes: 0

Related Questions