[Solved]Getting the transparency color from a gif in GD
Posted: Wed Nov 30, 2005 5:02 pm
I've got a situation where I want to load in a gif that has a transparency, put some text on it, then output it again with the transparency intact. However when I load it, put the text on, then output it, the transparency is lost. I figured I'd have to set the transparency color myself before drawing it, but I can't find any function which will allow me to find out which color this is.
Does anyone have any ideas on this? Is there some trick that would allow me to pull the color out of the binary somewhere? Or is the transparency information not even loaded into the image?
Thanks.
Does anyone have any ideas on this? Is there some trick that would allow me to pull the color out of the binary somewhere? Or is the transparency information not even loaded into the image?
Thanks.