yireo-magento1 / Yireo_Webp

Magento module that implements Google WebP in your frontend. This extension requires the "cwebp" binary to be installed on the server, and uses PHP exec() to access this binary. For details on installing "cwebp", refer to the Google WebP project.
Open Software License 3.0
41 stars 19 forks source link

Compression level #15

Open Danieleeffe1 opened 3 years ago

Danieleeffe1 commented 3 years ago

Hello

Mine is more a question, a curiosity and for this I apologize and thank you for your time

I switched to using OpenMage OpenMage is Magento1 supported by a small community committed to optimizing and updating Magento 1.

Many Magento1 modules work perfectly on OpenMage and among them is yireo's WebP.

By testing the performance of the sites (OpenMage, but also Magento1) Google page speed and GTMetrix report that webp images can be further optimized and compressed.

The question is: can it be done? if yes, how with your form?

jissereitsma commented 3 years ago

Note that this Magento 1 extension is deprecated and will no longer be updated, except for merging new Pull Requests.

A quick review of the old code shows the following line that could potentially be of use: https://github.com/yireo-magento1/Yireo_Webp/blob/master/source/app/code/community/Yireo/Webp/Helper/Data.php#L280

LuizSantos22 commented 3 years ago

@Danieleeffe1 One of the way of optimize it, is by compressing the image folder into a zip file, download it and use a compress software or website that compress it (can be lossless format) and zip it again and reupload it to your server.