File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
filterPixelate
— Apply 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.
Name | Description |
---|---|
[$intBlockPixelSize = 10] | n/a |
void — No return information has been documented for this function.
<?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);