Imagick::colorizeImage
Blends the fill color with the image
Description
bool Imagick::colorizeImage
( mixed $colorize
, mixed $opacity
)
Parameters
-
colorize
-
ImagickPixel object or a string containing the colorize color
-
opacity
-
ImagickPixel object or an float containing the opacity value.
1.0 is fully opaque and 0.0 is fully transparent.
Return Values
Returns TRUE
on success.
Errors/Exceptions
Throws ImagickException on error.