gamma — Apply gamma correction
Description
public Intervention\Image\Image gamma(float $input, float $output)
Performs a gamma correction operation on the current image. Define the correction for input and output values.
Parameters
input
Gamma compensation of the input value.
output
Gamma compensation of the output 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.0, 1.6);
See also
当前内容版权归 intervention 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 intervention .