GoLang HaruImage::getColorSpace

request it (54)
GoLang replacement for PHP's HaruImage::getColorSpace [edit | history]



Do you know a GoLang replacement for PHP's HaruImage::getColorSpace? Write it!

PHP HaruImage::getColorSpace

PHP original manual for HaruImage::getColorSpace [ show | php.net ]

HaruImage::getColorSpace

(PECL haru >= 0.0.1)

HaruImage::getColorSpaceGet the name of the color space

Description

string HaruImage::getColorSpace ( void )

Get the name of the color space.

Parameters

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"

Errors/Exceptions

Throws a HaruException on error.