Project

General

Profile

Actions

Bug #24999

closed

Truecolor support breaks GIF transparency

Added by Andre Haensel almost 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

$TYPO3_CONF_VARS['GFX']['png_truecolor'] needs to be enabled for transparentBackground property of GIFBUILDER objects to work.

Before 4.0 in t3lib_stdGraphic::output, IMreduceColors was only called when reduceColors was enabled.
Since 4.0 it is also called if png_truecolor is disabled and if it is a truecolor image. The latter condition was dropped in 4.4.
I guess that moment GIF transparency stopped working because in 4.2 it was still working.
(issue imported from #M17540)

Actions

Also available in: Atom PDF