XPM Code Fragments

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

CPYRIGHT.TXT is an ASCII copyright document.

xpmread.c

XPMREAD.C is C-language code that parses an XPM file and creates an array of strings corresponding to it.

xpmwrite.c

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.

Hosted by uCoz