TwistPHP Documentation

filterContrast

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

filterContrastApply a Contrast effect to the image, a level can be passed in for the required level of contrast between -100 and 100. 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 filterContrast with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> filterContrast($intLevel);