Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of GROUPE BULL shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from GROUPE BULL.
.nr )S 12
The sxpm program can be used to view any XPM (version 1, 2, or 3) file and/or to convert a file from XPM1 or XPM2 to XPM version 3. If sxpm is run with any dummy option specified, the usage is displayed. If no geometry is specified, the show window will have the size of the read pixmap. Pressing the key Q in the window will quit the program.
8 -d display Specifies the display to connect to.
8 -g geom Window geometry (default is pixmap's size).
8 -hints Set ResizeInc for window.
8 -icon filename Set icon to pixmap created from the file filename.
8 -plaid Show the plaid pixmap which is stored as data.
8 filename Read from the file filename and from standard input if filename is '-'. If no input is specified sxpm reads from standard input.
8 -o filename Write to the file filename (overwrite if it already exists) and to standard output if filename is '-'.
8 -mono Use the colors specified for a monochrome visual.
8 -grey4 Use the colors specified for a 4 color greyscale visual.
8 -grey Use the colors specified for a greyscale visual.
8 -color Use the colors specified for a color visual.
8 -pcmap Use a private colormap.
8 -closecolors Try to use "close colors" before reverting to other visuals.
8 -nod Do not display the pixmap in a window. (Useful when using as converter)
8 -nom Do not use the clipmask if there is any.
8 -sc symbol colorname Override default color to symbol to colorname.
8 -sp symbol pixelvalue Override default color to symbol to pixelvalue.
8 -cp colorname pixelvalue Override default color to colorname to pixelvalue.
8 -rgb filename Search color names in the file filename and write them out instead of the rgb values.
8 -v Verbose - to print out extensions (stderr).
Bull Research France
Copyright (C) 1989-95 by Groupe Bull.