X PixMap | |
Screenshot Size: | 240px |
Extension: | .xpm |
Mime: | image/x-xpixmap[1] |
Owner: | BULL Research |
Genre: | Image file formats |
Extendedfrom: | XBM |
Open: | yes |
X PixMap (XPM) is an image file format used by the X Window System, created in 1989 by Daniel Dardailler and Colas Nahaboo working at Bull Research Center at Sophia Antipolis, France, and later enhanced by Arnaud Le Hors.[2] [3]
It is intended primarily for creating icon pixmaps, and supports transparent pixels. Derived from the earlier XBM syntax, it is a plain text file in the XPM2 format or of a C programming language syntax, which can be included in a C program file.
The first (1989) XPM format is relatively similar to the XBM format. Compared to XBM, it uses additional macro definitions and variables for indexed colors, and replaces bits with characters for describing the image. The following is a black-and-white image in the 1989 XPM format.
static char *XFACE_colors[] = ;static char *XFACE_pixels[] =