Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Description

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

Name

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

Return Value

       Returns non-zero on error.

See Also

save_bitmap(3alleg4)

Allegro                                           version 4.4.3                                save_pcx(3alleg4)

Synopsis

#include<allegro.h>intsave_pcx(constchar*filename,BITMAP*bmp,constRGB*pal);

See Also