|
@@ 4113-4115 (lines=3) @@
|
| 4110 |
|
if (!$jpgQuality) { |
| 4111 |
|
$jpgQuality = $this->options['jpgQuality']; |
| 4112 |
|
} |
| 4113 |
|
if ($destformat == 'jpg' || ($destformat == null && $mime == 'image/jpeg')) { |
| 4114 |
|
return imagejpeg($image, $filename, $jpgQuality); |
| 4115 |
|
} |
| 4116 |
|
|
| 4117 |
|
if ($destformat == 'gif' || ($destformat == null && $mime == 'image/gif')) { |
| 4118 |
|
return imagegif($image, $filename, 7); |
|
@@ 4170-4172 (lines=3) @@
|
| 4167 |
|
|
| 4168 |
|
|
| 4169 |
|
|
| 4170 |
|
if ($destformat == 'jpg' || ($destformat == null && $mime == 'image/jpeg')) { |
| 4171 |
|
return imagejpeg($image, $filename, $jpgQuality); |
| 4172 |
|
} |
| 4173 |
|
|
| 4174 |
|
if ($destformat == 'gif' || ($destformat == null && $mime == 'image/gif')) { |
| 4175 |
|
return imagegif($image, $filename, 7); |