Image::invert

Invert the colors of the current image

1.6M Downloads / Month

Open Source MIT License

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