[SDL] SDL_image and memory

benang at cs.its.ac.id benang at cs.its.ac.id
Tue Sep 19 04:54:26 PDT 2006


Hi, I wanted to ask about SDL_image. Currently my application didn't use
SDL_image so the image were loaded from a bmp file. I'm just wondering if
I used png and loaded it with SDL_image, would the memory allocated for
the surfaces be much fewer than if I used bmp? The reason I'm trying to
switch to SDL_image is because my images now are more than 600 megs in bmp
format. So, if all were to be loaded into the memory, I think it's not too
efficient.

Thanks in advance.





More information about the SDL mailing list