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

Christopher bedlamhotel at gmail.com
Sun Feb 19 02:03:52 CET 2006


Hi Bernhard,

On 2/18/06, Bernhard Kraft <kraftb at kraftb.at> wrote:
> 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" ?


I don't know if it's related, but in b3 nothing I do will allow me to
produce an image with BOTH OF .niceText = 1 AND .transparentBackground
= 1, UNLESS gdlib_png is set in the install tool. Also, simply adding
'format = png' to a gifbuilder object does NOT cause it to create a
png UNLESS gdlib_png is set in the install tool.

Have I misunderstood what your changes have made available (i.e. I
thought we could now swittch between gif/png/jpg in gifbuilder
objects...)?

-Christopher




More information about the TYPO3-dev mailing list