A
A
ARX22018-09-21 19:31:22
Image processing
ARX2, 2018-09-21 19:31:22

How to optimize image in laravel?

Good afternoon!
I use laravel-image-optimizer to optimize images in Laravel.
I installed it as per the instructions, everything supposedly works, I use ImageOptimizer::optimize($pathToImage, $pathToOptimizedImage);
2 image that should be optimized saves, but does not optimize anything, weighs the same as the original, is no different. Judging by the custom settings, the optimized image should shrink by 85%, but this does not happen.
Who knows why the picture is not compressed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2018-09-21
@Maksclub

My English is also not good, but there is a way out in the 21st century - to read with
a 5ba51daa9408e945105062.png
translator : ) 5ba51e0699ef8314532647.png
jpegoptim

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question