Several code fragments for the XPM format are available. For additional code examples, see the source code for the fbm, ImageMagick, pbmplus, xli, and xv packages included on the CD-ROM.
CPYRIGHT.TXT is an ASCII copyright document.
XPMREAD.C is C-language code that parses an XPM file and creates an array of strings corresponding to it.
XPMWRITE.C is C-language code that parses an XPM array and writes a file that corresponds to it.
Copyright © 1996 O'Reilly & Associates, Inc. All Rights Reserved.