使用JavaScript确定图像是灰度还是颜色? [英] Determine if image is Grayscale or Color using JavaScript?
本文介绍了使用JavaScript确定图像是灰度还是颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以使用JavaScript确定给定图片是灰度还是颜色?
Is it possible to determine if a given image is grayscale or color using JavaScript?
推荐答案
href =http://www.pixastic.com/lib/docs/actions/colorhistogram/ =nofollow> http://www.pixastic.com/lib/docs/actions/colorhistogram/
Take a look at http://www.pixastic.com/lib/docs/actions/colorhistogram/
这将很容易提供您需要确定的数据。
This will easily provide the data you need to determine this.
这篇关于使用JavaScript确定图像是灰度还是颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文