NAME

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

SYNOPSIS

ssxxppmm [--dd displayname] [--gg geometry] [--hhiinnttss] [--iiccoonn filename] [--ppllaaiidd || filename | -] [--oo filename | --oo -] [--ppccmmaapp] [--cclloosseeccoolloorrss] [--nnoodd] [--nnoomm] [--mmoonnoo || --ggrreeyy44 || --ggrreeyy || --ccoolloorr] [--sscc symbol color] [--sspp symbol pixel] [--ccpp color pixel] [--rrggbb filename] [--vv]

DESCRIPTION

The _s_x_p_m 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 _s_x_p_m 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.

OPTIONS

-d _d_i_s_p_l_a_y
Specifies the display to connect to.
-g _g_e_o_m
Window geometry (default is pixmap's size).
-hints
Set ResizeInc for window.
-icon _f_i_l_e_n_a_m_e
Set icon to pixmap created from the file _f_i_l_e_n_a_m_e.
-plaid
Show the plaid pixmap which is stored as data_. _<_d_t_> _<_b_>_f_i_l_e_n_a_m_e_<_/_b_> _<_d_d_> _R_e_a_d _f_r_o_m _t_h_e _f_i_l_e _f_i_l_e_n_a_m_e _a_n_d _f_r_o_m _s_t_a_n_d_a_r_d _i_n_p_u_t _i_f _f_i_l_e_n_a_m_e _i_s _'_-_'_. _I_f _n_o _i_n_p_u_t _i_s _s_p_e_c_i_f_i_e_d _s_x_p_m _r_e_a_d_s _f_r_o_m _s_t_a_n_d_a_r_d _i_n_p_u_t_. _<_d_t_> _<_b_>_-_o _f_i_l_e_n_a_m_e_<_/_b_> _<_d_d_> _W_r_i_t_e _t_o _t_h_e _f_i_l_e _f_i_l_e_n_a_m_e _(_o_v_e_r_w_r_i_t_e _i_f _i_t _a_l_r_e_a_d_y _e_x_i_s_t_s_) _a_n_d _t_o _s_t_a_n_d_a_r_d _o_u_t_p_u_t _i_f _f_i_l_e_n_a_m_e _i_s _'_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