$mgck_wnd = NewMagickWand();
  MagickReadImage($mgck_wnd, "E:\\Tester\\test.jpg");
  $img_colspc = MagickGetImageColorspace($mgck_wnd); //1 to return here, not 2 
  if ($img_colspc == MW_GRAYColorspace) {
    echo "file was in GRAY format<br />"; 
  } 

Hope to fix the bug, I would like to thank 
2008-12-06 



jecelyin 
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to