class Negation implements FilterInterface

This filter negates every color of every pixel of an image.

Methods

apply(ImageInterface $image)

Applies scheduled transformation to an ImageInterface instance.

Details

at line 27
ImageInterface apply(ImageInterface $image)

Applies scheduled transformation to an ImageInterface instance.

Parameters

ImageInterface $image

Return Value

ImageInterface returns the processed ImageInterface instance

See also

FilterInterface::apply