-d display
Specifies the display to connect to.
-g geom
Window geometry (default is pixmap's size).
-hints
Set ResizeInc for window.
-icon filename
Set icon to pixmap created from the file filename.
-plaid
Show the plaid pixmap which is stored as data.
filename
Read from the file filename and from standard input if filename is '-'. If no input is specified sxpm reads from standard input.
-o filename
Write to the file filename (overwrite if it already exists) and to standard output if filename is '-'.
-mono
Use the colors specified for a monochrome visual.
-grey4
Use the colors specified for a 4 color greyscale visual.
-grey
Use the colors specified for a greyscale visual.
-color
Use the colors specified for a color visual.
-pcmap
Use a private colormap.
-closecolors
Try to use "close colors" before reverting to other visuals.
-nod
Do not display the pixmap in a window. (Useful when using as converter)
-nom
Do not use the clipmask if there is any.
-sc symbol colorname
Override default color to symbol to colorname.
-sp symbol pixelvalue
Override default color to symbol to pixelvalue.
-cp colorname pixelvalue
Override default color to colorname to pixelvalue.
-rgb filename
Search color names in the file filename and write them out instead of the rgb values.
-v
Verbose - to print out extensions (stderr).