[Tutor] bitmap or not?

Thomi Richards thomi@thomi.imail.net.nz
Sun, 1 Sep 2002 20:20:14 +1200


hi yet again:-)

I have a series of cells, 256 wide by 256 high. each cell has a "state
number", which can range between 0 and 24. I need to read and write
these cells very quickly. to start with, the cells are stored in memory,
but I'd like to keep them in a 256 colour bitmap file, so that each cell
is a pixel, and each colour represents a different colour.

Originally i thought of using the python-allegro module being developed
at http://pyallegro.sourceforge.net/
but it's not really stable enough for me, or complete enough. Can anyone
suggest an alternative??

thanks.

-- 
 "Avoid the Gates of Hell.  Use Linux"

Thomi Richards,
thomi@imail.net.nz