Progressive JPEG

https://plus.google.com/+PaulIrish/posts/5KzxfS9nNEZ
This commit is contained in:
Otto Nascarella
2013-04-25 12:18:50 -03:00
parent 6106066ef1
commit a994c93dee
+1
View File
@@ -407,6 +407,7 @@ class ImageManagerCore
case 'jpeg':
default:
$quality = (Configuration::get('PS_JPEG_QUALITY') === false ? 90 : Configuration::get('PS_JPEG_QUALITY'));
imageinterlace($resource,1); /// make it PROGRESSIVE
$success = imagejpeg($resource, $filename, (int)$quality);
break;
}