PHP Conference Nagoya 2025

Gmagick::getimagebackgroundcolor

(PECL gmagick >= Unknown)

Gmagick::getimagebackgroundcolorReturns the image background color

Description

public Gmagick::getimagebackgroundcolor(): GmagickPixel

Returns the image background color.

Parameters

This function has no parameters.

Return Values

Returns an GmagickPixel set to the background color of the image.

Errors/Exceptions

Throws an GmagickException on error.

add a note

User Contributed Notes

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