TwistPHP Documentation

filterPixelate

File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
Extends:

filterPixelateApply a Pixalate effect to the image, pass in the pixel block size. The image will be made of of pixel blocks of the given size.

Parameters

Name Type Description
[$intBlockPixelSize = 10]integern/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$intBlockPixelSize 10;

//Call the function filterPixelate with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> filterPixelate($intBlockPixelSize);