[SDL] Colorful Mousecursrors with SDL

Daniel Pomrehn post at daniel-pomrehn.de
Thu Jan 27 00:48:20 PST 2005

> I need to load a lot of images using too much memory space when loaded: 
> 152 images, 35kb each but in memory they are much bigger because of image 
> uncompression and byte alignment.
> My idea is to read all the image data compressed in png format in memory 
> and load the images from memory instead of disk.

The only way this would take less space than just loading the images
would be keeping the compressed data in memory and decompress it on the
fly while blitting. I bet that's too slow to be of any practical value :

More information about the SDL mailing list