摘要: Bitmap bmp = new Bitmap(allow_fileStream); //文件路径 allowUpload = stringHelper.IsCMYK(bmp) == "true" ? false : true; //返回true字符串则图片不是RGB模式的 public string IsCMYK(System.Drawing.Image img) { string isCmyk; if ((GetImageFlags(img).IndexOf("Ycck") > -1) || (GetImageFlags(img).IndexO 阅读全文
posted @ 2012-05-15 17:36 ajunfly 阅读(1766) 评论(0) 推荐(0) 编辑