[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Imlib2 egg question
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] Imlib2 egg question |
Date: |
Wed, 30 Jan 2008 16:04:49 +0100 |
User-agent: |
Mutt/1.4.2.3i |
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
pgp51xiEcRZOl.pgp
Description: PGP signature