man pages section 1: User Commands

Exit Print View

Updated: July 2014

cxpm (1)


cxpm - XPM 1, 2, or 3.


/usr/bin/cxpm [filename]


User Commands                                             CXPM(1)

     cxpm - Check an XPM (X PixMap) file - XPM 1, 2, or 3.

     /usr/bin/cxpm [filename]

     The  cxpm program can be used to check the format of any XPM
     (version 1, 2, or 3)  file.  On  error,  unlike  sxpm,  cxpm
     prints  out  an  error  message  indicating where the parser
     choked. This should help finding out what's  wrong  with  an
     XPM  file but do not expect too much from it though. This is
     not even close from being some kind of lint program for XPM.
     First,  it  stops at the first error it encounters - so sev-
     eral fix and retry cycles may be necessary to get your  file
     to  parse  successfully.  Second,  cxpm only cares about the
     format. If, for instance, your pixmap uses too  many  colors
     for  your  system you still may experience difficulties dis-
     playing it. Be warned.

     When no filename is  given  cxpm  reads  from  the  standard

     Arnaud Le Hors    (
     Copyright (C) 1998 by Arnaud LE HORS.

     See   attributes(5)   for   descriptions  of  the  following

     |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
     |Availability                 |x11/library/libxpm           |
     |Interface Stability          |Uncommitted                  |

SunOS 5.11                Last change:                          1