HaruImage::getColorSpace

(PECL haru >= 0.0.1)

HaruImage::getColorSpaceGet the name of the color space

˵��

HaruImage::getColorSpace ( void ) : string

Get the name of the color space.

����

�˺���û�в�����

����ֵ

Returns the name of the color space of the image. The name is one of the following values:

  • "DeviceGray"
  • "DeviceRGB"
  • "DeviceCMYK"
  • "Indexed"

�����쳣

��������ʱ�׳� HaruException �쳣��