@monsterdream may be this package will do what you are trying to achieve.
Jul 11, 2015
2
Level 5
Homestead / Forge -> Image compression on the fly
Hi, This is more generally question. Somebody of you use image optimization on the fly when user upload those images ? I'm searching and looking for some simply way to do that without success so far. I found that library:
https://github.com/psliwa/image-optimizer
But for that I need install for example jpegtrans on my machine so I'm guessing If I would like to use it, I need to install it on DigitalOcean server. This is more problematic for my, then install something through composer.
The question is: Is there any more simply way to do that ? (I want to compress image (not only resize) with some good quality/size ratio if its possible).
Take care guys
Please or to participate in this conversation.