Forum und email

HaruImage::getColorSpace

(PECL haru:0.0.1)

HaruImage::getColorSpace — Get the name of the color space

Beschreibung

string HaruImage::getColorSpace ( void )

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

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

Fehler/Exceptions

Throws HaruException on error.