Issue Bug Closed

#15660No transparency with GIFbuilder

Bjrn Kraus 03/11/06, 18:31 updated 07/06/08, 17:02

Description

When creating transparent gifs the t3lib_stdGraphic class first creates a truecolor image and reduces the color palette when saving it. It seems that GD forgets the transparency when doing that.
To prevent GD from loosing the transparency color, all palette changes should neglected.

I’m using PHP 5.1.2 with GD version 2.0.28 on Debian Linux.

lib.subMenu = HMENU
lib.subMenu {
special = directory
special.value.data = leveluid:1

1 = GMENU
1 {
NO {
allWrap = <ul>|</ul>
wrap = <li>|</li>
altText.field = nav_title // title
XY = [20.w]+12, 23
transparentBackground = 1
        10 = IMAGE
10.file = fileadmin/template/images/nav_dot.gif
10.offset = 0,10
        20 = TEXT
20 {
text.field = nav_title // title
text.case = upper
fontFile = fileadmin/template/fonts/MyriadPro-SemiboldCond.ttf
fontSize = 10
fontColor = #6F797E
offset = 10,16
niceText = 1
}
}
NO = 1
    RO < .NO
RO.10.offset = 3,10
RO = 1
    CUR < .RO
CUR.10.file = fileadmin/template/images/nav_dot_cur.gif
CUR.10.offset = 0,10
CUR = 1
}
}
(issue imported from #M2834)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.