GLBasic User Manual

Main sections

LOADBMP

LOADBMP bmp$



Loads the file bmp$ and changes the background image buffer to the image. As a result, it will form the background for your program's display from the next call to SHOWSCREEN.
The command supports .bmp, -png and .jpg file types.

Sample:
 
LOADBMP "Image.bmp"
PRINT "Hello World", 100, 100
SHOWSCREEN
MOUSEWAIT

See also...