[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Alpha channels and per pixel alpha
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Alpha channels and per pixel alpha
- From: Ian Mallett <geometrian@xxxxxxxxx>
- Date: Wed, 10 Jun 2009 14:48:58 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 10 Jun 2009 17:49:21 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=HmaPWWQGDhK0QgzfmoiETl/53F3g/cWOHxp+UV0PM/E=; b=wVw38BVPk1JJrCVNc205hfQ/m3j3Vz/YQnDs+1mNzXFXmsDpoF3utldPoZqA1l0dFw ZTntG6AbwylM8+67cNAg0jNL1LGu/s57WFmw8IQNotKFaXq0zch3XGWcl30Nyx/O07K4 WktOyT+pr5tJXgS7GWS/hV1o75GUHXxnlqxHo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=pJ2awUNt5j/eGyc+e732hewzDL7PFadLn79/zB4j0bR5YvGrnUUOnVnCQv3sTSMWsV c2CY/saXDEOooG58s4DHBpsKAuAaE7u3T7z/+I+94TP4VbQlAW42U/EtqtSHf4DBdvDM pfwCgxUkqwF6o8rdRftNOVfrPVWbhJ1lLwLmU=
- In-reply-to: <SNT103-W17EA8353DDD73166DF8DC294450@xxxxxxx>
- References: <SNT103-W17EA8353DDD73166DF8DC294450@xxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
The way to do it is with .convert_alpha()
Check that your images really do have an alpha channel.