Skip to content

Commit 033d3f9

Browse files
authored
Merge pull request #37 from ockle/jepgoptim-config
Add missing config option so that jpegs actually get properly optimized
2 parents 5576246 + e633282 commit 033d3f9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ return [
6666
'optimizers' => [
6767

6868
Jpegoptim::class => [
69+
'-m85', // set maximum quality to 85%
6970
'--strip-all', // this strips out all text information such as comments and EXIF data
7071
'--all-progressive' // this will make sure the resulting image is a progressive one
7172
],

config/image-optimizer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
'optimizers' => [
1515

1616
Jpegoptim::class => [
17+
'-m85', // set maximum quality to 85%
1718
'--strip-all', // this strips out all text information such as comments and EXIF data
1819
'--all-progressive', // this will make sure the resulting image is a progressive one
1920
],

0 commit comments

Comments
 (0)