Imagick::opaquePaintImage

Imagick::opaquePaintImage

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

Imagick::opaquePaintImageChanges the color value of any pixel that matches target

Description

bool Imagick::opaquePaintImage ( mixed $target , mixed $fill , float $fuzz , bool $invert [, int $channel = Imagick::CHANNEL_DEFAULT ] )

Changes any pixel that matches color with the color defined by fill. This method is available if Imagick has been compiled against ImageMagick version 6.3.8 or newer.