Pixelate

Pixelate an image.

Parameters
amount

The size of pixelation. >= 1

Examples
use Grafika\Grafika; // Import package

//...

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

Test image:

lena

Result:

result