Add compiler preset option to photo

This commit is contained in:
afiq.hamzah
2022-12-04 15:00:46 +08:00
parent 921669fc4f
commit f777d2ff73
+1 -1
View File
@@ -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;
}