[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] convert transparent region to white
- To: pygame-users@xxxxxxxx
- Subject: [pygame] convert transparent region to white
- From: "Chuang Wu" <chuangwoo@xxxxxxxxx>
- Date: Fri, 2 Jun 2006 16:41:57 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Fri, 02 Jun 2006 16:42:01 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Wvf4O+Zcfs8RddA0GO2BmGc8KyjAfuyPXwv1jzmuPUSypOv/Z0EyzdyP8HleynSvs53wf2sIQN16XyY9wjPl2f1Wr3e+AnM/00xt4JRjusXFEJkbnqaid/mOAtOAqzUoJq1w0AnIXsUGHYwEexh/pSqzPVWyDLe4L91PyNe1Q+o=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi there,
I have a 64x64 icon with transparent region. I wanna show the transparent region in *white* color.
If I use convert_alpha(), the transparent region doesn't show. if I just use convert(), it became black.
So How to make it white? it'll be great if the image can have a black edge too =D
Thanks,
CC