---
name: "exbitmap"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/exbitmap/3alleg4"
---

# exbitmap(3alleg4)

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

## NAME

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

## SYNOPSIS

**#include \<allegro.h\>**

**Example exbitmap**

## DESCRIPTION

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.

## SEE ALSO

**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)
