---
name: "exbitmap"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/exbitmap"
---

# exbitmap(3alleg)

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**(3alleg)](/BITMAP/3alleg.md), [**END\_OF\_MAIN**(3alleg)](/END_OF_MAIN/3alleg.md), [**PALETTE**(3alleg)](/PALETTE/3alleg.md), [**SCREEN\_H**(3alleg)](/SCREEN_H/3alleg.md), [**SCREEN\_W**(3alleg)](/SCREEN_W/3alleg.md), [**allegro\_error**(3alleg)](/allegro_error/3alleg.md), [**allegro\_init**(3alleg)](/allegro_init/3alleg.md), [**allegro\_message**(3alleg)](/allegro_message/3alleg.md), [**blit**(3alleg)](/blit/3alleg.md), [**destroy\_bitmap**(3alleg)](/destroy_bitmap/3alleg.md), [**install\_keyboard**(3alleg)](/install_keyboard/3alleg.md), [**load\_bitmap**(3alleg)](/load_bitmap/3alleg.md), [**readkey**(3alleg)](/readkey/3alleg.md), [**screen**(3alleg)](/screen/3alleg.md), [**set\_gfx\_mode**(3alleg)](/set_gfx_mode/3alleg.md), [**set\_palette**(3alleg)](/set_palette/3alleg.md)
