diff --git a/app/Services/MarhunPhotoService.php b/app/Services/MarhunPhotoService.php index 43b42191..649bcb76 100644 --- a/app/Services/MarhunPhotoService.php +++ b/app/Services/MarhunPhotoService.php @@ -154,7 +154,7 @@ class MarhunPhotoService $webpCompiler = $this->getWebpCompilerByOS(); - exec($webpCompiler . ' -resize 1280 720 '.' -mt ' .$originalFilePath . ' -o ' . $convertedFilePath); + exec($webpCompiler . ' -preset photo ' . ' -resize 1280 720 ' . ' -mt ' .$originalFilePath . ' -o ' . $convertedFilePath); return $convertedFilePath; }