Controlling Images Quality Generated By Imagick

Hi,

On my store, I am using 30 PNG icons. Originally, each file size is almost 2 KB. But when publishing on the storefront, CS-Cart generates new files with more than 10 times larger size.

Is there a way to control the quality of images/thumbs generated by Imagick in CS-Cart?

Thank!

If thumbnails format is set to jpeg, you can use Settings -> Thumbnails -> JPEG format quality (0-100) setting

Thank you for your reply, eComLabs.

If thumbnails format is set to jpeg, you can use Settings -> Thumbnails -> JPEG format quality (0-100) setting

The format is PNG. I mean, both original and generated files are in PNG. Can this be configured?

Thank you for your reply, eComLabs.

The format is PNG. I mean, both original and generated files are in PNG. Can this be configured?

Hello,

Edit /app/functions/fn.images.php line ~782. Here you will see an option called 'png_compression_level'.

Kind regards,

Hello,

Edit /app/functions/fn.images.php line ~782. Here you will see an option called 'png_compression_level'.

Kind regards,

Thank you, poppedweb. That works perfectly. I was exactly looking for this settings. The option is in the same file but line 755.

Again, thank you very much!