I've asked this question a LONG time ago... I was thinking maybe someone now would know a thing or two about this. Whatever you know is more then me! LOL
Anyway I am trying to make a php image on the fly with the GD library. I am also using png format. So please someone let me know what i am doing wrong. This is what I do...
Create the graphic using a certian base color as the marked transparency, use the photo editing software to create the transparent color. It end up transparent.. but when I go to put it on a php page it shows up regular! I put it through the code and it turns it white. LOL Well that's not transparent obviously.... I can't really share my full code as it's copy righted, but I didn't know if anyone here would know if this looks right/wrong, or if any of the steps I said above are totally wrong.
Here is some of the code I have to make the colors and image transparent:
function colorallocate($im,$color){
$color = str_replace('#','',$color);
$white = imagecolorallocate($im,255,255,255);
$red = hexdec(substr($color,0,2));
$green = hexdec(substr($color,2,4));
$blue = hexdec(substr($color,4,6));
return ImageColorAllocate($im,$red,$green,$blue);
imagecolortransparent($im,255,255,0);
}
Any ideas? I really really appriciate it... I looked at the imagecolortransparent code in the manual but there were no examples. 
Thanks!! Ashley



