|
@@ 560-563 (lines=4) @@
|
| 557 |
|
unset($phpthumb_ico); |
| 558 |
|
break; |
| 559 |
|
|
| 560 |
|
default: |
| 561 |
|
$this->DebugMessage('RenderOutput failed because $this->thumbnailFormat "'.$this->thumbnailFormat.'" is not valid', __FILE__, __LINE__); |
| 562 |
|
ob_end_clean(); |
| 563 |
|
return false; |
| 564 |
|
} |
| 565 |
|
ob_end_clean(); |
| 566 |
|
if (!$this->outputImageData) { |
|
@@ 2546-2550 (lines=5) @@
|
| 2543 |
|
} |
| 2544 |
|
switch ($this->thumbnailFormat) { |
| 2545 |
|
case 'png': |
| 2546 |
|
case 'ico': |
| 2547 |
|
// image has alpha transparency, but output as PNG or ICO which can handle it |
| 2548 |
|
$this->DebugMessage('skipping AlphaChannelFlatten() because ($this->thumbnailFormat == "'.$this->thumbnailFormat.'")', __FILE__, __LINE__); |
| 2549 |
|
return false; |
| 2550 |
|
break; |
| 2551 |
|
|
| 2552 |
|
case 'gif': |
| 2553 |
|
// image has alpha transparency, but output as GIF which can handle only single-color transparency |