[TYPO3-dev] 4.0beta3 GMENU transparency bug?!?

Bernhard Kraft kraftb at kraftb.at
Sat Feb 18 23:38:03 CET 2006


Joerg Wagner - DigiLog multimedia wrote:
> Hi all
> 
> can anybody please confirm this problem - if so I will post a bug in 
> bugtracker:
> 
> After upgrading from  4.0beta2  to  4.0beta3  I experience problems with 
> transparent backgrounds in my GMENUs.
> Under certain conditions the transparency is inverted, making all 
> transparent background pixels visible and the characters themselves 
> transparent.
> As far as I can tell this is needed to reproduce the problem:
> 
> - niceText MUST be on.
> - the backColor value (read as one 48 bit number) must have a higher value 
> than the fontColor value.
> - I am using GraphicsMagick. Not sure whether this will happen with 
> ImageMagick too.

I modified the code of the GIFBUILDER which also renders GEMENU items so it is able
to produce truecolor graphics.

I tested this a lot but didn't find any such issue (I tested it also with GM)

I tested a setup similar to yours:

lib.header = COA
lib.header {
	10 = IMAGE
	10.file = GIFBUILDER
	10.file {
		XY = 200,200
		format = png
		quality = 95
		backColor = #d3d9db
		transparentBackground = 1

		10 = TEXT
		10.text = Hello World
                10.fontColor = #d3d9da
                10.fontSize = 40
                10.offset = 20,100
                10.niceText = 1
                10.fontFile = fileadmin/ALTdragon.ttf
	}
}

with .format = gif/png and with fontColor #d3d9dc and #d3d9da but any time the text was visible and
the background transparent.

Can you also tell me the setting of "gdlib_png" and the new flag "png_truecolor" ?


greets,
Bernhard





More information about the TYPO3-dev mailing list