chickadee » sdl2 » save-bmp-rw!

save-bmp-rw! surface rwops #!optional close?procedure

See SDL_SaveBMP_RW.

If close? is #t, rwops will be automatically closed (see rw-close!) after the image is loaded. If close? is #f or omitted, rwops will not be closed.

Signals an exception of kind (exn sdl2) if an error occurs.