diff --git a/lib/Varien/Image/Adapter/Gd2.php b/lib/Varien/Image/Adapter/Gd2.php index 763eadda300..cf9ef34c366 100644 --- a/lib/Varien/Image/Adapter/Gd2.php +++ b/lib/Varien/Image/Adapter/Gd2.php @@ -205,14 +205,7 @@ public function save($destination=null, $newName=null) // set quality param for PNG file type if (!is_null($this->quality()) && $this->_fileType == IMAGETYPE_PNG) { - $quality = round(($this->quality() / 100) * 10); - if ($quality < 1) { - $quality = 1; - } elseif ($quality > 10) { - $quality = 10; - } - $quality = 10 - $quality; - $functionParameters[] = $quality; + $functionParameters[] = 9; } call_user_func_array($this->_getCallback('output'), $functionParameters);