Project

General

Profile

Actions

Feature #28405

closed

Enable GIFBUILDER to generate 32-bit PNG images

Added by Georg Großberger almost 13 years ago. Updated almost 11 years ago.

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #22797: alpha transparency issue with png_truecolor=1Closed2010-06-03

Actions
Is duplicate of TYPO3 Core - Feature #22455: GIFBUILDER & GMENU: alpha transparency for PNGClosed2010-04-14

Actions
Actions

Also available in: Atom PDF