how to show a bitmap?

Diez B. Roggisch deets.nospaaam at web.de
Mon Dec 1 13:32:27 CET 2003


Yun Mao wrote:

> Could you please be a little more specific? ;)

Its well documented on www.pygame.org. You have to look into the module
surfarray, which makes it possible to access and manipulate pixel data
using - guess what - Numeric arrays.

Look in the code examples for some effects that utilize this - AFAIK there
is something like a fire or motion blurring. These access pixel data. Just
plug in your array, and you should be done.

Regards, Diez




More information about the Python-list mailing list