[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] PixelArray vs SurfArray
- To: "pygame-users@xxxxxxxx" <pygame-users@xxxxxxxx>
- Subject: [pygame] PixelArray vs SurfArray
- From: Ian Mallett <geometrian@xxxxxxxxx>
- Date: Sat, 7 Mar 2009 12:34:23 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sat, 07 Mar 2009 15:34:25 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=dxygqGJO5QTYI3zxEc9d4aj53gNRpqPd9zFtFwtIKGc=; b=JgTRZhxSohnSET782Ju1sVrNtWKObRFdHtq2149DLVLKKihxA/YRsN1xwehymZsrRA WPeKHASZhUQgNCTBJ6cWg+TZSvJ2J36Us09KL/iKYKf8ujGkSk7GXCL11lpQ3n7NOsKL khlHxShNE+JORmPQ2H2yM+Ljj98BGdnvCkBYg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hWaf1WZidgUqXapFspHk9o9i7tY/wrxb4ANO2K2EhDOtMij+fZaKsnO6INz0GG30jH +ixMoH3K039FeDn5XtE9QZt4mkX5J01Rnl84S1YOZ4fZ4fgKbE1J944KWq+jdMdmVzGq Ktz/6heV4Nf3jtb6sWMoCaXvJzWRyLxqlTeDA=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi
I'm working on a project, and it would be really nice to have fast access to pixel data. I'm thinking that PixelArray or SurfArray will do the job--but what's the difference between the two? I know that surfarray requires Numeric or NumPy, but I'm less familiar with PixelArray--does it have such a requirement? Are there other differences?
Ian