I'm working on a script to dynamically create images for vBulletin forums, and the basics are creating a gradient in the right colors/dimensions, and then copying an image with the borders/text on top of the gradient, and have the transparent bits of the text/borders image stay transparent to allow the gradient to show through.
I've got everything set up, and I'm wondering if maybe I need to make a separate function to deallocate the transparent bits of the source image, or what?
I would think that it would let transparent bits be transparent to allow the destination image to show through, but no, it just pastes the source image on top and the transparent bits stay transparent, effectively doing absolutely nothing to the destination image and outputting the source image to the browser...
Is there a way to remove/deallocate/send to the depths of hell the transparent parts of a source image in the ImageCopy function? So that the destination image can show through what would be transparent on the source image?
Thanks,
Jason, the ever confused webmaster