Support All ColorSpace.

I met problem my colorSpace is NSCalibratedRGBColorSpace