Actions
Feature #28405
closedEnable GIFBUILDER to generate 32-bit PNG images
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Image Cropping
Target version:
-
Start date:
2011-07-23
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:
Description
The GIFBUILDER cObject does not have the ability to render PNGs with an alpha channel - 32-bit PNGs. This is my proposal to enable this:
- Introduce the "backColor" value "transparent". If this is set, the created blank image is not filled with a default or given color, but with a fully transparent background. All other properties are mapped on to of that.
- The "[GFX][png_truecolor]" must be set to true for this. Setting "mapReduce" and / or "format" to "jpg" or "gif", disables this behaviour. In both cases the default white background is used.
- If "backColor" is used with another value, the new property has no effect.
- If "transparent" is set as "backColor", the GIFBUILDER properties "transparentBackground" and "transparentColor" have no effect.
I'm currently working on a patch for this.
Actions