Image::gamma
Apply gamma correction to the current image
2.9M Downloads / Month
Open Source MIT License
2.9M Downloads / Month
Open Source MIT License
public Intervention\Image\Image gamma(float $correction)
Apply a gamma correction operation on the current image.
Gamma compensation value.
Instance of Intervention\Image\Image
// create new Intervention Image
$img = Image::make('public/foo.jpg');
// apply gamma correction
$img->gamma(1.6);