[SDL] Help SDL_Surface

Marc Essinger stackoverflow32 at yahoo.de
Fri Apr 25 05:07:01 PDT 2003


Hi,
do you mean you want to delete the tiles that are
pixel by pixel equal ? So it would be possible to
compose the original picture by those remaining tiles
? 

If you want to store those tiles in bmp files, use
SDL_SaveBMP to write each of them into a seperate bmp
file. To store them all into one bmp file, you have to
create another surface and blit all tiles onto it,
then use SDL_SaveBMP to create one great bmp file.

Hope i could help you a bit :),
Marc

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de




More information about the SDL mailing list