[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Using zipfile to reduce in-memory usage?



> I'm wondering about use the zipfile module to compress the images _in
> memory_ (using a cstringio file-like object for the zip 'file').

Just use zlib to compress each individual image data instead of messing
around with strngio objects or a file.

--
Sami Hangaslammi