DOKK / manpages / debian 10 / allegro4-doc / save_pcx.3alleg4.en
save_pcx(3alleg4) Allegro manual save_pcx(3alleg4)

save_pcx - Saves a bitmap into a PCX file. Allegro game programming library.

#include <allegro.h>

int save_pcx(const char *filename, BITMAP *bmp, const RGB *pal);

Writes a bitmap into a 256-color or 24-bit truecolor PCX file.

Returns non-zero on error.

save_bitmap(3alleg4)

version 4.4.2 Allegro