Explorar o código

Update image optimizer

Daniel Supernault %!s(int64=3) %!d(string=hai) anos
pai
achega
a08c8a29d5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
         ],