PHP 5.6.14 is available


(No version information available, might only be in Git)

Imagick::transparentPaintImagePaints pixels transparent


bool Imagick::transparentPaintImage ( mixed $target , float $alpha , float $fuzz , bool $invert )

Paints pixels matching the target color transparent. Questo metodo è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.8 o successive.

Elenco dei parametri


The target color to paint


The level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.


The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.


If TRUE paints any pixel that does not match the target color.

Valori restituiti

Restituisce TRUE in caso di successo.

add a note add a note

User Contributed Notes

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