Feature #21886
closedEnables rotation of gifbuilder images with transparent background avoiding ugly triangles / step patterns
0%
Description
Using the EFFECTS / rotate method to rotate gifbuilder objects by angles different from 90/180/270° results in images surrounded by triangles in the background color. The simple 1 bit opacity approach supportet by gifbuilder produces ugly step patterns due to anti aliasing if transparency is enabled.
Using recent versions of IM / GD allows to create png-24 images with 8 bit alpha channels. However it is not possible to use this feature in a typo3 4.3.0 installation.
The appended patch allows to rotate images in front of a (by default) transparent background using 8 bit alpha. I know that it is not a clean solution but I hope to show that it is possible to provide a better alpha support with recent versions of the libraries used by typo3. It would be great to find a better support for 8 bit alpha in upcoming typo3 releases.
A result of the appended patch can be seen on http://baeckerbuben.com (the buttons on the left side are dynamically created using gifbuilder).
(issue imported from #M13101)
Files