|
@@ 4178-4180 (lines=3) @@
|
| 4175 |
|
if (!$jpgQuality) { |
| 4176 |
|
$jpgQuality = $this->options['jpgQuality']; |
| 4177 |
|
} |
| 4178 |
|
if ($destformat == 'jpg' || ($destformat == null && $mime == 'image/jpeg')) { |
| 4179 |
|
return imagejpeg($image, $filename, $jpgQuality); |
| 4180 |
|
} |
| 4181 |
|
|
| 4182 |
|
if ($destformat == 'gif' || ($destformat == null && $mime == 'image/gif')) { |
| 4183 |
|
return imagegif($image, $filename, 7); |
|
@@ 4235-4237 (lines=3) @@
|
| 4232 |
|
|
| 4233 |
|
|
| 4234 |
|
|
| 4235 |
|
if ($destformat == 'jpg' || ($destformat == null && $mime == 'image/jpeg')) { |
| 4236 |
|
return imagejpeg($image, $filename, $jpgQuality); |
| 4237 |
|
} |
| 4238 |
|
|
| 4239 |
|
if ($destformat == 'gif' || ($destformat == null && $mime == 'image/gif')) { |
| 4240 |
|
return imagegif($image, $filename, 7); |