On Wed, Jan 30, 2008 at 09:40:06AM -0500, William Ramsay wrote: > Hi, > > I'm using the Imlib2.egg to save icons with a small drawing program I'm > writing. If I create an icon that is completely filled with color, > everything works fine. But if I only draw pixels in part of the icon, > leaving the rest transparent, the icon is saved completely messed up. > What do I need to do to tell the imlib image that I want to have part of > it transparent? I thought it was a transparent image that was created > with imlib:create.
That's what it should do. Could you try the attached patch and let me know if it works? I'm at work right now, so I haven't been able to test it. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth
pgpSY0IOTT0rq.pgp
Description: PGP signature
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users