File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
filterBrightness
— Apply a Brightness effect to the image, a level can be passed in for the required level of brightness between -255 and 255. Defaults to 0
Name | Description |
---|---|
[$intLevel = 0] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intLevel = 0;
//Call the function filterBrightness with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> filterBrightness($intLevel);