DOKK / manpages / debian 12 / libsdl1.2-dev / SDL_SaveBMP.3.en
SDL_SaveBMP(3) SDL API Reference SDL_SaveBMP(3)

SDL_SaveBMP - Save an SDL_Surface as a Windows BMP file.

#include "SDL.h"

int SDL_SaveBMP(SDL_Surface *surface, const char *file);

Saves the SDL_Surface surface as a Windows BMP file named file.

Returns 0 if successful or -1 if there was an error.

SDL_LoadBMP

Tue 11 Sep 2001, 23:01 SDL