SDL_SaveBMP - Man Page

Save an SDL_Surface as a Windows BMP file.

Synopsis

#include "SDL.h"

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

Description

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

Return Value

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

See Also

SDL_LoadBMP

Referenced By

SDL_LoadBMP(3).

Tue 11 Sep 2001, 23:01 SDL API Reference