approached/laravel-image-optimizer

config file options are ignored

pablood85 opened this issue · 4 comments

Hello, I was trying to compress a jpg, but the size remained intact.
After some debugging, I found that there is no compression setted by default, so I added a new argument in this config line:

'jpegoptim_options' => ['--strip-all', '--all-progressive', '--max60'],

But nothing seems to happen, the config parameters are never merged with the default ones.

Is this a known issue?
What can I do to fix it?

Thanks

Hi @pablood85
i have now no time to fix it. But feel free for a pull request.

Thank you for your contribution. I add a new version tag 2.1.0.

Okipa commented

@pablood85 This closed issue seems to be related to this one : #13
Any idea on how to fix this ?