DOKK / manpages / debian 11 / allegro4-doc / exbitmap.3alleg4.en
exbitmap(3alleg4) Allegro manual exbitmap(3alleg4)

exbitmap - Loading and displaying PCX and BMP files. Allegro game programming library.

#include <allegro.h>

Example exbitmap

This program demonstrates how to load and display a bitmap file. You have to use this example from the command line to specify as first parameter a graphic file in one of Allegro's supported formats. If the file is loaded successfully, it will be displayed until you press a key.

BITMAP(3alleg4), END_OF_MAIN(3alleg4), PALETTE(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), destroy_bitmap(3alleg4), install_keyboard(3alleg4), load_bitmap(3alleg4), readkey(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4)

version 4.4.3 Allegro