From Just Solve the File Format Problem
X PixMap (XPM) is an uncompressed raster image file format. It is essentially the color version of XBM.
An XPM file is plain text. Except for the little-used XPM version 2, it doubles as a fragment of C program code.