transparent backColor causes transparent flicks and black background
- It may creates wrong transparent areas. That is because of the imagealphablending setting, which should not be there.
- It creates black backgrounds, when using an image object inside the GIFBUILDER, because the core sets the t3lib_stdgraphic::imagecopyresized_fix property to true by default.
Attached is a patch which resolves those issues.
Before pushing it to Gerrit, I'd like to know if the approach of fixing the second issue is correct, or should be done differently.
With this approach, the imagecopyresized_fix is overruled by the saveAlphaLayer property inside the t3lib_stdgraphic::imagecopyresized method. Since this approach is kind of obsolete, I see no problem with it. Backwards compatibility is is given, simply because upraded installations will have the saveAlphaLayer property set to false anyway.
Target Version: 4.6 and 4.7
Updated by Philipp Gampe over 10 years ago
Would you mind pushing your patch to gerrit?
Would you mind giving us a test setup (typoscript, maybe image) to reproduce the issue (and test the fix). Or describe how to reproduce with the introduction package.