PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
That's the code I have so far. So basically I create the image, exact the black color using imagecolorallocate, and make the black part of the image transparent. It isn't working. What am I missing? I don't want to overlay it over any images right now. I'd like to have the image be transparent at all times. PNG format would be better.
I'd bet onion2k would have an idea or teo for you if you posted this in the PHPGD forum. It can be done, only it might not look perfect, depending on the image ofcourse. If it's a one-off image change, like Kieran said, do it in your favourite image editor instead.