|
@@ 4216-4218 (lines=3) @@
|
| 4213 |
|
if (!$jpgQuality) { |
| 4214 |
|
$jpgQuality = $this->options['jpgQuality']; |
| 4215 |
|
} |
| 4216 |
|
if ($destformat == 'jpg' || ($destformat == null && $mime == 'image/jpeg')) { |
| 4217 |
|
return imagejpeg($image, $filename, $jpgQuality); |
| 4218 |
|
} |
| 4219 |
|
|
| 4220 |
|
if ($destformat == 'gif' || ($destformat == null && $mime == 'image/gif')) { |
| 4221 |
|
return imagegif($image, $filename, 7); |
|
@@ 4273-4275 (lines=3) @@
|
| 4270 |
|
|
| 4271 |
|
|
| 4272 |
|
|
| 4273 |
|
if ($destformat == 'jpg' || ($destformat == null && $mime == 'image/jpeg')) { |
| 4274 |
|
return imagejpeg($image, $filename, $jpgQuality); |
| 4275 |
|
} |
| 4276 |
|
|
| 4277 |
|
if ($destformat == 'gif' || ($destformat == null && $mime == 'image/gif')) { |
| 4278 |
|
return imagegif($image, $filename, 7); |