|
@@ 643-647 (lines=5) @@
|
| 640 |
|
$this->DebugMessage('imageinterlace($this->gdimg_output, '.intval($this->config_output_interlace).')', __FILE__, __LINE__); |
| 641 |
|
imageinterlace($this->gdimg_output, intval($this->config_output_interlace)); |
| 642 |
|
switch ($this->thumbnailFormat) { |
| 643 |
|
case 'jpeg': |
| 644 |
|
header('Content-Type: '.phpthumb_functions::ImageTypeToMIMEtype($this->thumbnailFormat)); |
| 645 |
|
$ImageOutFunction = 'image'.$this->thumbnailFormat; |
| 646 |
|
@$ImageOutFunction($this->gdimg_output, null, $this->thumbnailQuality); |
| 647 |
|
break; |
| 648 |
|
|
| 649 |
|
case 'png': |
| 650 |
|
case 'gif': |
|
@@ 650-654 (lines=5) @@
|
| 647 |
|
break; |
| 648 |
|
|
| 649 |
|
case 'png': |
| 650 |
|
case 'gif': |
| 651 |
|
header('Content-Type: '.phpthumb_functions::ImageTypeToMIMEtype($this->thumbnailFormat)); |
| 652 |
|
$ImageOutFunction = 'image'.$this->thumbnailFormat; |
| 653 |
|
@$ImageOutFunction($this->gdimg_output); |
| 654 |
|
break; |
| 655 |
|
|
| 656 |
|
case 'bmp': |
| 657 |
|
if (!@include_once(dirname(__FILE__).'/phpthumb.bmp.php')) { |