public Intervention\Image\Image invert()

Invert all colors of the current image.

Parameters

none

Return Values

Instance of Intervention\Image\Image

Examples

// create Image from file and reverse colors
$img = Image::make('public/foo.jpg')->invert();

See also