Invert

Invert the image colors.

Parameters

This function has no parameters.

Examples
use Grafika\Grafika; // Import package

//...

$filter = Grafika::createFilter('Invert');
$editor->apply( $image, $filter ); // Apply it to an image 

Test image:

lena

Result:

result