Add compiler preset option to photo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user