TwistPHP Documentation

filterBrightness

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

filterBrightnessApply 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

Parameters

Name Type Description
[$intLevel = 0]integern/a

Return Values

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

Example

<?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);