diff --git a/t3lib/thumbs.php b/t3lib/thumbs.php index 9d72ac3..9664571 100644 --- a/t3lib/thumbs.php +++ b/t3lib/thumbs.php @@ -230,13 +230,8 @@ class SC_t3lib_thumbs { /* if (strstr($this->input,' ') || strstr($this->output,' ')) { $this->errorGif('Spaces in','filepath',basename($this->input)); } -*/ // 16 colors for small (56) thumbs, 64 for bigger and all for jpegs - if ($outext=='jpg') { - $colors = ''; - } else { - $colors = ($sizeMax>56)?'-colors 64':'-colors 16'; - } - $parameters = '-sample '.$this->size.' '.$colors.' '.$this->wrapFileName($this->input).'[0] '.$this->wrapFileName($this->output); +*/ + $parameters = '-sample '.$this->size.' '.$this->wrapFileName($this->input).'[0] '.$this->wrapFileName($this->output); $cmd = t3lib_div::imageMagickCommand('convert', $parameters); exec($cmd); if (!file_exists($this->output)) {