array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'imagick.painttransparentimage.php', 1 => 'Imagick::paintTransparentImage', 2 => 'Changes any pixel that matches color with the color defined by fill', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.paintopaqueimage.php', 1 => 'Imagick::paintOpaqueImage', ), 'next' => array ( 0 => 'imagick.pingimage.php', 1 => 'Imagick::pingImage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/painttransparentimage.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL imagick 2, PECL imagick 3)
Imagick::paintTransparentImage — Changes any pixel that matches color with the color defined by fill
Ця функція ЗАСТАРІЛА починаючи з Imagick 3.4.4. Вкрай не рекомендується на неї покладатися.
Changes any pixel that matches color with the color defined by fill.
targetChange this target color to specified opacity value within the image.
alphaThe level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.
fuzzThe fuzz member of image defines how much tolerance is acceptable to consider two colors as the same.
Повертає true в разі успіху.
Кидає ImagickException в разі помилки.
| Версія | Опис |
|---|---|
| PECL imagick 2.1.0 | Now allows a string representing the color as the first parameter. Previous versions allow only an ImagickPixel object. |