admin管理员组文章数量:1287647
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.
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.
Share Improve this question asked Feb 5, 2010 at 22:18 MilosMilos 5438 silver badges15 bronze badges5 Answers
Reset to default 6Check CamanJS.
It is very flexible and powerful.
If your audience have modern browsers you can use the <canvas>
tag.
Here is a tutorial: https://developer.mozilla/en/Canvas_tutorial
Look at library: http://www.pixastic./
This is not possible with javascript. You need to use GDLib or some other server side image manipulation library.
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.
本文标签: Image manipulation with javascriptStack Overflow
版权声明:本文标题:Image manipulation with javascript - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741316724a2371959.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论