浏览代码

Update image optimizer

Daniel Supernault 3 年之前
父节点
当前提交
a08c8a29d5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config/image-optimizer.php

+ 1 - 1
config/image-optimizer.php

@@ -14,7 +14,7 @@ return [
     'optimizers' => [
 
         Jpegoptim::class => [
-            '-m75', // set maximum quality to 75%
+            '-m' . (int) env('IMAGE_QUALITY', 80),
             '--strip-all',  // this strips out all text information such as comments and EXIF data
             '--all-progressive',  // this will make sure the resulting image is a progressive one
         ],