mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-08 17:16:34 +02:00
correcting jpeg when setting quality
This commit is contained in:
@@ -336,6 +336,7 @@ EOD;
|
||||
protected function SetQuality() {
|
||||
if(!$this->quality) {
|
||||
switch($this->extension) {
|
||||
case 'jpeg':
|
||||
case 'jpg':
|
||||
$this->quality = self::JPEG_QUALITY_DEFAULT;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user