Skip to content
Snippets Groups Projects
user avatar
Georg Grossberger authored
Introduce the "backColor" value "transparent" to create a PNG file
that has a transparent color as background and enhance the existing
code to keep it until the final image is written to a file.

If "transparent" is set the following conditions must be met:
* png_truecolor must be set to TRUE
* reduceColors must not be set
* format must not be set to jpg or gif

If one of those conditions is not met, GIFBUILDER falls back to
its default behaviour. Already existing backColor features are not
affected by this change.

The options "transparentBackground" and "transparentColor" have no
effect if the backColor is transparent

Change-Id: I0ce9a891710bbe1e7cae935c765aff2aa5640415
Resolves: #28405
Releases: 4.6
Reviewed-on: http://review.typo3.org/3703
Reviewed-by: Jo Hasenau
Reviewed-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
93894011
Name Last commit Last update