MagickGetImageColorspace
MagickGetImageColorspace -- returns the image colorspace of the current active image
Description
int MagickGetImageColorspace( MagickWand mgck_wnd )
Returns the image colorspace of the current active image. The returned value will be a ColorspaceType constant, one of the following: MW_UndefinedColorspace MW_RGBColorspace MW_GRAYColorspace MW_TransparentColorspace MW_OHTAColorspace MW_LABColorspace MW_XYZColorspace MW_YCbCrColorspace MW_YCCColorspace MW_YIQColorspace MW_YPbPrColorspace MW_YUVColorspace MW_CMYKColorspace MW_sRGBColorspace MW_HSBColorspace MW_HSLColorspace MW_HWBColorspace
A description of each parameter follows:
| mgck_wnd | A MagickWand resource |