|
@@ 366-370 (lines=5) @@
|
| 363 |
|
if ($conf['file'] && $conf['mask']) { |
| 364 |
|
$imgInf = pathinfo($conf['file']); |
| 365 |
|
$imgExt = strtolower($imgInf['extension']); |
| 366 |
|
if (!in_array($imgExt, $this->gdlibExtensions, true)) { |
| 367 |
|
$BBimage = $this->imageMagickConvert($conf['file'], $this->gifExtension); |
| 368 |
|
} else { |
| 369 |
|
$BBimage = $this->getImageDimensions($conf['file']); |
| 370 |
|
} |
| 371 |
|
$maskInf = pathinfo($conf['mask']); |
| 372 |
|
$maskExt = strtolower($maskInf['extension']); |
| 373 |
|
if (!in_array($maskExt, $this->gdlibExtensions, true)) { |
|
@@ 373-377 (lines=5) @@
|
| 370 |
|
} |
| 371 |
|
$maskInf = pathinfo($conf['mask']); |
| 372 |
|
$maskExt = strtolower($maskInf['extension']); |
| 373 |
|
if (!in_array($maskExt, $this->gdlibExtensions, true)) { |
| 374 |
|
$BBmask = $this->imageMagickConvert($conf['mask'], $this->gifExtension); |
| 375 |
|
} else { |
| 376 |
|
$BBmask = $this->getImageDimensions($conf['mask']); |
| 377 |
|
} |
| 378 |
|
if ($BBimage && $BBmask) { |
| 379 |
|
$w = imagesx($im); |
| 380 |
|
$h = imagesy($im); |