KRISTOFFER BOHMANN
[BETA]
Forside
Om KB
Kompetencer
Referencer
Home
>
PHP
>
Function
>
>
Imagick::setImageOpacity()
Imagick::setImageOpacity()
Imagick::setImageOpacity - Sets the image opacity level
Syntax
bool
Imagick::setImageOpacity
(
float
$opacity)
Arguments
opacity - The level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.
Description
Sets the image to the specified opacity level. This method is available if Imagick has been compiled against ImageMagick version 6.3.1 or newer.
Version
PHP PECL imagick 2.0.0
Return value
Returns TRUE on success.