XPM Files
These are some examples of XPM files. The XPM file is a pixel
format used by X Windows and is actually a fragment of
legal C code.
XPM File Characteristics:
-
ASCII
-
color
-
2D
-
No compression
-
1 image
Reference:
-
John Miano,
Compressed Image File Formats,
Addison Wesley, 1999,
ISBN: 0-201-60443-4,
LC: TA1637.M53.
-
Adrian Nye,
Xlib Programming Manual R5,
O'Reilly, 1994,
ISBN: 1565920066.
-
Robert Schiefler, James Gettys,
X Window System,
Complete Reference to Xlib and Protocol,
Digital Press, 1990,
ISBN: 0139720502.
Programs to view an XPM file:
-
GIMP,
the GNU Image Manipulation Program, can view an XPM file.
-
The program xv
can display an XPM file.
Programs to convert an XPM file to another format:
-
The
ImageMagick,
program convert can convert an XPM file to
BMP, CGM, EPS, FIG, FITS, GIF, JPG, PBM, PDF, PGM, PNG, PNM,
PPM, PS, RGB, TIF or XBM format.
-
GIMP,
the GNU Image Manipulation Program, can save an XPM
file in another format.
-
The program xv
can display an XPM file, and then save it in a variety
of other formats.
Programs to convert a file to XPM format:
Sample Files:
TEAPOT is an image of the Newell teapot.
You can go up one level to
the DATA page.
Last revised on 25 June 2006.