Re: [GD-DEVEL] Newbie transparent gif question- possibly solved.
[email protected] ("Pierre Joye") Fri, 2 May 2008 20:59:00 +0200
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, May 2, 2008 at 8:23 PM, Roger Oberholtzer <[email protected]> wrote: > > On Fri, 2008-05-02 at 14:57 +0200, Pierre Joye wrote: > > On Fri, May 2, 2008 at 2:31 PM, Roger Oberholtzer <[email protected]> wrote: > > > > > Thanks! Be sure to do one where you Allocate a color more than once, and > > > set the transparency to one after the first Allocate of the color. > > > > > > Do you understand what I mean by: > > > > It uses only the color index with palette images. > > I do indeed understand the concept. All I can say is that something > makes this not work as expected. I suspect it is that I am using the > code in a way other that you expect. But, from what I can tell, not in > contradiction to the documentation. > > What would happen if I read in the image again into GD? Does the index > get set properly upon read? Sure, GD supports PNG and GIF palette images very well (both in write and read mode). > I will see if I can pare down my code into the minimal that makes this > happen. Or not happen, as the case may be. Nice, that will let me figure out the issue. I'm sadly still busy fighting some php builds issues :/ Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org