CakeFest 2017 NYC, the Official CakePHP Conference


(PECL haru >= 0.0.1)

HaruImage::getColorSpaceGet the name of the color space


string HaruImage::getColorSpace ( void )

Get the name of the color space.


This function has no parameters.

Return Values

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

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


Throws a HaruException on error.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top