I've noticed on our Magento 188.8.131.52 store that when Magento puts product images into cache it's actually making them bigger. I'm not sure where to start debugging this or if there is a fix for it?
To give you an example I uploaded a image which was compressed to 92kb with PhotoShops Save for Web feature. However when I checked the frontend of the website I found that it had increased to 209kb.
The larger version of the file is coming from the Magento cache for product images, it's file path is:
The original file still has the 92kb file size and is located in:
Why & How could Magento be making the file bigger? Also why is it putting the cahed image in a
thumbnail directory, all the cached versions of this image are being put in the thumbnail directory, i.e.
Where in the code does Magento process images for the cache?
I've looked in lib/tcpdf/tcpdf.php at
$img->setCompressionQuality($this->jpeg_quality);. I've also checked template/catalog/product/view/media.phtml but couldn't find anything.