Why MagickGetImageColorspace only get RGB, CMYK color space of the picture

"jecelyin" <[email protected]> Sat, 6 Dec 2008 22:33:10 +0800
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
$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