XPM (which stands for X Window System PixMaps) is a derivation of the XBM format designed to represent color images in a simple to process format. See http://en.wikipedia.org/wiki/X_PixMap for information on the format.
See Img for a Tk extension which can assist in displaying images in xpm format, or XPM to photo image or Tk_Xpm for specialized extensions/procs to handle XPMs.
DKF: One of the key features of the XPM format (and XBM too) is that it is a valid C declaration, which means that embedding them into a C program is just a matter of #include...
See XPM Pixmap Formatting in Pure TCL for procedures to format XPM data from a list and to convert a Tk photo to an XPM pixmap with transparency support.