imagemagentoimage-processingmagento-1.6

How to deal with image quality in magento?


I've noticed that on my website Many of the images are overoptimized and have artifacting (blurry edges). They look really bad.

So i've been looking into what how magento (1.6) handles those conversions but I don't know id it does.

So you can give a look here to get an idea: HERE

It depends on your monitor. Mine is good (bad) in the sense that these things stand out pretty clearly. Other monitors are more forgiving. So I'm looking to figure out how to do a higher quality compression ratio without sacrificing too much bandwidth with big files.

Is that possible ? Its hosted on Amazon Web Services.

Thanks


Solution

  • A method called setQuality has been implemented and can be used directly in templates.

    For example:

    echo $this->helper('catalog/image')->init($this->getProduct(), 'image', $_image->getFile())->resize(42, 50)->setQuality(95);