|
@@ 727-731 (lines=5) @@
|
| 724 |
|
$this->DebugMessage('ImageInterlace($this->gdimg_output, ' . (int)$this->config_output_interlace . ')', __FILE__, __LINE__); |
| 725 |
|
imageinterlace($this->gdimg_output, (int)$this->config_output_interlace); |
| 726 |
|
switch ($this->thumbnailFormat) { |
| 727 |
|
case 'jpeg': |
| 728 |
|
header('Content-Type: ' . phpthumb_functions::ImageTypeToMIMEtype($this->thumbnailFormat)); |
| 729 |
|
$ImageOutFunction = 'image' . $this->thumbnailFormat; |
| 730 |
|
@$ImageOutFunction($this->gdimg_output, null, $this->thumbnailQuality); |
| 731 |
|
break; |
| 732 |
|
|
| 733 |
|
case 'png': |
| 734 |
|
case 'gif': |
|
@@ 734-738 (lines=5) @@
|
| 731 |
|
break; |
| 732 |
|
|
| 733 |
|
case 'png': |
| 734 |
|
case 'gif': |
| 735 |
|
header('Content-Type: ' . phpthumb_functions::ImageTypeToMIMEtype($this->thumbnailFormat)); |
| 736 |
|
$ImageOutFunction = 'image' . $this->thumbnailFormat; |
| 737 |
|
@$ImageOutFunction($this->gdimg_output); |
| 738 |
|
break; |
| 739 |
|
|
| 740 |
|
case 'bmp': |
| 741 |
|
if (!@require_once __DIR__ . '/phpthumb.bmp.php') { |