Php generated png transparency! Please help

Hi! How do I use transparency for images generated with php?
If I generate a png there is no transparency (using imagecopymerge some transparent parts are included in the picture as background): only black pixels are shown instead

can someone tell me what to change in my script? thx in advance

Not without seeing your code…

already figured out myself, but thx

I used gif instead :smiley:
put a transparent empty gif as background and attached the other parts of the image to it

or a transparent imagerectangle…