1SXPM(1)                     General Commands Manual                    SXPM(1)
2
3
4

NAME

6       sxpm  -  Show an XPM (X PixMap) file and/or convert XPM 1 or 2 files to
7       XPM 3.
8

SYNOPSIS

10       sxpm [-d displayname] [-g geometry] [-hints] [-icon filename] [-plaid |
11       filename  |  -]  [-o  filename  |  -o -] [-pcmap] [-closecolors] [-nod]
12       [-nom] [-mono | -grey4 | -grey | -color] [-sc symbol color] [-sp symbol
13       pixel] [-cp color pixel] [-rgb filename] [-v]
14

DESCRIPTION

16       The  sxpm program can be used to view any XPM (version 1, 2, or 3) file
17       and/or to convert a file from XPM1 or XPM2 to XPM version 3. If sxpm is
18       run  with  any  dummy  option  specified, the usage is displayed. If no
19       geometry is specified, the show window will have the size of  the  read
20       pixmap. Pressing the key Q in the window will quit the program.
21

OPTIONS

23       -d display
24               Specifies the display to connect to.
25
26       -g geom Window geometry (default is pixmap's size).
27
28       -hints  Set ResizeInc for window.
29
30       -icon filename
31               Set icon to pixmap created from the file filename.
32
33       -plaid  Show the plaid pixmap which is stored as data.
34
35       filename
36               Read from the file filename and from standard input if filename
37               is '-'.  If no input is  specified  sxpm  reads  from  standard
38               input.
39
40       -o filename
41               Write to the file filename (overwrite if it already exists) and
42               to standard output if filename is '-'.
43
44       -mono   Use the colors specified for a monochrome visual.
45
46       -grey4  Use the colors specified for a 4 color greyscale visual.
47
48       -grey   Use the colors specified for a greyscale visual.
49
50       -color  Use the colors specified for a color visual.
51
52       -pcmap  Use a private colormap.
53
54       -closecolors
55               Try to use "close colors" before reverting to other visuals.
56
57       -nod    Do not display the pixmap in a window.  (Useful when  using  as
58               converter)
59
60       -nom    Do not use the clipmask if there is any.
61
62       -sc symbol colorname
63               Override default color to symbol to colorname.
64
65       -sp symbol pixelvalue
66               Override default color to symbol to pixelvalue.
67
68       -cp colorname pixelvalue
69               Override default color to colorname to pixelvalue.
70
71       -rgb filename
72               Search  color  names  in  the  file filename and write them out
73               instead of the rgb values.
74
75       -v      Verbose - to print out extensions (stderr).
76
77
78

KNOWN BUGS

80       Some window managers may not accept a pixmap which is not a  bitmap  as
81       icon  because  this does not respect ICCCM, many of the well known ones
82       will accept it though.
83
84

AUTHOR

86       Arnaud Le Hors    (lehors@sophia.inria.fr)
87       Bull Research France
88       Copyright (C) 1989-95 by Groupe Bull.
89
90
91
92X Version 11                     libXpm 3.5.12                         SXPM(1)
Impressum