S
S
Samarkand2017-04-29 06:05:56
PHP
Samarkand, 2017-04-29 06:05:56

How to do JPG and PNG optimization in pure PHP?

How to make maximum image optimization so that https://developers.google.com/speed/pagespeed/insights stops swearing?
I know about the article https://habrahabr.ru/post/261625/ , but Google Page Speed ​​Insights recommends reducing the images shrunk in this way by 10-15%, and optimizilla.com squeezes another 2 times!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
longclaps, 2017-04-29
@Samarkand

Follow the links and be aware that no one has yet written a JPG and PNG optimization in pure PHP. All that is there are PHP wrappers over third-party libraries.
You can be the first, although why reinvent the wheel out of shit and sticks, wouldn't it be better to understand the capabilities and settings of the available tools?

I
index0h, 2017-04-29
@index0h

I understand correctly, you want to process images on a hyper text processor?
Of course, you can try for sporting interest, but for real projects, this is a bad idea.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question