Sorry, no results were found for this search.

You are viewing the documentation for Intervention Image v2. This version has reached end of life (EOL). Please consider upgrading to Version 3.

public Intervention\Image\Image gamma(float $correction)

Apply a gamma correction operation on the current image.

Parameters

correction

Gamma compensation value.

Return Values

Instance of Intervention\Image\Image

Examples

// create new Intervention Image
$img = Image::make('public/foo.jpg');

// apply gamma correction
$img->gamma(1.6);

See also

Edit