V
V
vamshop2017-05-05 18:11:19
PHP
vamshop, 2017-05-05 18:11:19

Php image slicing library with optimization?

Hello!
The Google PageSpeed ​​Insight service complains that the images are not optimized and can be compressed.
What php library to take, which can cut and optimize, compress pictures?
There are tinypng.com and analogues, but I don’t want to be tied to an external API.
Are there libraries similar to phpThumb, but with image optimization and compression?!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Viktor Yanyshev, 2017-05-05
@villiwalla

Imagemagik, gd not your religion?

A
AlikDex, 2017-05-05
@AlikDex

Imagick normal.
We cut out the exif using the stripImage() function , then set the compression ratio of the flicker to no more than 85% (experimentally determined). And voila, Google doesn't swear.

D
Dmitry Gadzhiev, 2017-05-05
@gds1

and GD has been canceled for a long time? she does everything well.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question