Grayscale
Turn image into grayscale.
Parameters
This function has no parameters.
Examples
use Grafika\Grafika; // Import package
//...
$filter = Grafika::createFilter('Grayscale'); // Create filter object depending on available editor
$editor->apply( $image, $filter ); // Apply it to an image
Test image:
Result: