Gamma
Performs a gamma correction on an image.
Parameters
amount
The amount of gamma correction to apply. >= 1.0
Examples
use Grafika\Grafika; // Import package
//...
$filter = Grafika::createFilter('Gamma', 2.0);
$editor->apply( $image, $filter ); // Apply it to an image
Test image:
Result: