What is an XPM file?

Last edited on

I get .xpm files from screenshot testing. What kind of file are these and how can I view them?

An .xpm file is an X-Windows PixMap file. This file format describes the image in a form that can be read by C and C++ compilers. The image can be viewed in a plain text editor (some, like vim, will show the actual image), or in most image viewing applications.