HaruImage::getColorSpace

(PECL haru >= 0.0.1)

HaruImage::getColorSpaceGet the name of the color space

Descrição

HaruImage::getColorSpace ( void ) : string

Get the name of the color space.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

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

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

Erros

Lança uma HaruException em erros.