Imagick::setImageBackgroundColor

(PECL imagick 2.0.0)
Sets the image background color
bool Imagick::setImageBackgroundColor ( mixed $background )

Sets the image background color.

Parameters:
background

Sets the image background color.

Returns:

Returns TRUE on success.

Exception:

Throws ImagickException on error.

Changelog:
2.1.0

Now allows a string representing the color as the parameter. Previous versions allow only an ImagickPixel object.

doc_php
2016-02-24 16:01:19
Comments
Leave a Comment

Please login to continue.