1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-03 02:42:45 +02:00
This commit is contained in:
JCOGS Design
2022-06-07 19:17:08 +01:00
committed by GitHub
parent 211a237883
commit 27eb784a62

View File

@@ -16,6 +16,6 @@ class BrightnessCommand extends AbstractCommand
{
$level = $this->argument(0)->between(-100, 100)->required()->value();
return imagefilter($image->getCore(), round(IMG_FILTER_BRIGHTNESS,0), ($level * 2.55));
return imagefilter($image->getCore(), IMG_FILTER_BRIGHTNESS, round($level * 2.55,0));
}
}