So I have png image and I rotate it but i get a black background.. or if i do the color code ofr white i get white.. I tried doing this..
$trans = imagecol
Have you tried this?
imagecolortransparent
Hope i understood your question!