Jump to content

Presta img compression agains Kraken, TinyPNG etc.


BoKr

Recommended Posts

Hello

I am really in the need to compress my product images.

There are several service providers these days that offer to compress images with different methods like lossless, lossy with fixed or intelligent compression.

Moreover there also modules at hand that can upload the images of your Prestashop to these service providers.

 

As I understand the handy way would be that a module works in the background and uploads each new image you upload via backoffice (not FTP).

Of course an option should be to upload also all images of /img or any other folder so images can be compressed before you installed some module to do so.

 

Anyhow I need to know when these modules kick in and how.

I am pretty sure they use an image controller overide, right?
so, each time I upload images via backoffice and AFTER Prestashop has applied versions of the original corresponding to /bo/image resolution settings then the module kicks in and uploads original and resized variants to the service, right?

So, Pesta must have written original and variants to /img/p dir then Presta notifies any module (how?) ?

I would like to know how since I am also using another image module: ImageMagick in oder to TRIM -fuzz images.

So, what is the sequence image processing takes place?

Always 1st Presta's image compression settings (1-100% for jpeg for example). If you got a module like ImageMagick then this hokks into this process and does at the same time its processes (like TRIM -fuzz). Finally, when files are written or going to be written so to speak image compression modules upload these to the given service?

 

In a nutshell,  if my understanding is right Prestashop does apply compression if not set to 100% Jpg quality to the original and resized variants. Then image optimization module uploads these images to compress again.

Since the service of Krken, Panda Tiny_whatever  is an expert at doing so, I should set Presta's quality to OFF=100% JPG? Else I would risk that Presta damages image quality more or less ...

I thank you if you could take the time to explain these things to me.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...