Issue Feature Closed

#28405Enable GIFBUILDER to generate 32-bit PNG images

Georg Großberger 07/23/11, 09:43 updated 06/01/13, 14:45

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.

Reviews 1