Bug #23236 ยป 15184.diff
typo3/sysext/cms/tslib/class.tslib_gifbuilder.php 2010-11-02 16:40:51.000000000 +0100 | ||
---|---|---|
if ($this->setup['transparentBackground']) {
|
||
// Auto transparent background is set
|
||
$Bcolor = ImageColorExact($this->im, $BGcols[0],$BGcols[1],$BGcols[2]);
|
||
$Bcolor = ImageColorClosest($this->im, $BGcols[0],$BGcols[1],$BGcols[2]);
|
||
imagecolortransparent($this->im, $Bcolor);
|
||
} elseif (is_array($this->setup['transparentColor_array'])) {
|
||
// Multiple transparent colors are set. This is done via the trick that all transparent colors get converted to one color and then this one gets set as transparent as png/gif can just have one transparent color.
|