pixelate()
->pixelate(int $size): SergiX44\ImageZen\Image
Pixelate a given part of the image.
Parameters
int $size
: The amount of pixelation
Returns
Instance of SergiX44\ImageZen\Image
.
Example
use SergiX44\ImageZen\Image;
$image = Image::make('path/to/image.jpg')
->pixelate(10); // pixelate the whole image