Imagick::negateImage

Imagick::negateImage

(PECL imagick 2.0.0)

Imagick::negateImageNegates the colors in the reference image

Description

bool Imagick::negateImage ( bool $gray [, int $channel = Imagick::CHANNEL_ALL ] )

Negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.

Parameters

gray

Whether to only negate grayscale pixels within the image.

channe