dwww Home | Manual pages | Find package

SDL_SaveBMP(3)                 SDL API Reference                SDL_SaveBMP(3)

NAME
       SDL_SaveBMP - 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

SDL                         Tue 11 Sep 2001, 23:01              SDL_SaveBMP(3)

Generated by dwww version 1.15 on Fri Jun 21 19:20:04 CEST 2024.