使用javascript进行图像处理 [英] Image manipulation with javascript
本文介绍了使用javascript进行图像处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用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.
推荐答案
如果您的受众群体使用的是现代浏览器,则可以使用<canvas>
标签.
If your audience have modern browsers you can use the <canvas>
tag.
这是一个教程: https://developer.mozilla.org/en/Canvas_tutorial
这篇关于使用javascript进行图像处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文