1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-06 22:00:38 +01:00

set default sharpen value to 10

This commit is contained in:
Oliver Vogel 2014-05-22 18:42:57 +02:00
parent b60d426398
commit 057f5ac18d
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class SharpenCommand extends \Intervention\Image\Commands\AbstractCommand
*/
public function execute($image)
{
$amount = $this->argument(0)->between(0, 100)->value(30);
$amount = $this->argument(0)->between(0, 100)->value(10);
// build matrix
$min = $amount >= 10 ? $amount * -0.01 : 0;

View File

@ -12,7 +12,7 @@ class SharpenCommand extends \Intervention\Image\Commands\AbstractCommand
*/
public function execute($image)
{
$amount = $this->argument(0)->between(0, 100)->value(30);
$amount = $this->argument(0)->between(0, 100)->value(10);
return $image->getCore()->unsharpMaskImage(1, 1, $amount / 6.25, 0);
}