PHP 7.4.0RC2 Released!

HaruImage::getColorSpace

(PECL haru >= 0.0.1)

HaruImage::getColorSpaceGet the name of the color space

Description

HaruImage::getColorSpace ( void ) : string

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.

add a note add a note

User Contributed Notes

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