我需要使用C#在illustrator中查找图像是彩色图像还是黑白图像 [英] I need to find a image whether it is a coloured image or black and white image in illustrator using C#

查看:70
本文介绍了我需要使用C#在illustrator中查找图像是彩色图像还是黑白图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用C#在illustrator中找到图像是彩色图像还是黑白图像.

I need to find a image whether it is a coloured image or black and white image in illustrator using C#

推荐答案

检查图像的RGB值...如果在灰度范围内,则图像为灰色,否则为彩色.
Check RGB value of image... If it is in the range for gray scale then image is gray otherwise colored.


这篇关于我需要使用C#在illustrator中查找图像是彩色图像还是黑白图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆