From ee1814b7b4fe4ec5a8de6ac02d2a8ba267c0c094 Mon Sep 17 00:00:00 2001 From: Bastien Lamamy Date: Thu, 29 Mar 2018 13:00:26 +0200 Subject: [PATCH] Remove magento validator jpeg force quality --- app/code/core/Mage/Core/Model/File/Validator/Image.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/code/core/Mage/Core/Model/File/Validator/Image.php b/app/code/core/Mage/Core/Model/File/Validator/Image.php index 0d4e188c0c1..a1956f92c04 100644 --- a/app/code/core/Mage/Core/Model/File/Validator/Image.php +++ b/app/code/core/Mage/Core/Model/File/Validator/Image.php @@ -121,9 +121,6 @@ public function validate($filePath) } imagegif($img, $filePath); break; - case IMAGETYPE_JPEG: - imagejpeg($img, $filePath, 100); - break; case IMAGETYPE_PNG: imagepng($img, $filePath); break;