[0m


XWUD(1)             UNIX Programmer's Manual		  XWUD(1)



[1mNAME
     [0mxwud - image displayer for X

[1mSYNOPSIS
     xwud [0m[-in _f_i_l_e] [-noclick] [-geometry _g_e_o_m] [-display
     _d_i_s_p_l_a_y] [-new] [-std <maptype>] [-raw] [-vis <vis-type-or-
     id>] [-help] [-rv] [-plane _n_u_m_b_e_r] [-fg _c_o_l_o_r] [-bg _c_o_l_o_r]

[1mDESCRIPTION
     [0m_X_w_u_d is an X Window System image undumping utility.  _X_w_u_d
     allows X users to display in a window an image saved in a
     specially formatted dump file, such as produced by _x_w_d(_1).

[1mOPTIONS
     -bg [0m_c_o_l_o_r
	     If a bitmap image (or a single plane of an image) is
	     displayed, this option can be used to specify the
	     color to display for the "0" bits in the image.

     [1m-display [0m_d_i_s_p_l_a_y
	     This option allows you to specify the server to con-
	     nect to; see _X(_1).

     [1m-fg [0m_c_o_l_o_r
	     If a bitmap image (or a single plane of an image) is
	     displayed, this option can be used to specify the
	     color to display for the "1" bits in the image.

     [1m-geometry [0m_g_e_o_m
	     This option allows you to specify the size and posi-
	     tion of the window.  Typically you will only want to
	     specify the position, and let the size default to
	     the actual size of the image.

     [1m-help   [0mPrint out a short description of the allowable
	     options.

     [1m-in [0m_f_i_l_e
	     This option allows the user to explicitly specify
	     the input file on the command line.  If no input
	     file is given, the standard input is assumed.

     [1m-new    [0mThis option forces creation of a new colormap for
	     displaying the image.  If the image characteristics
	     happen to match those of the display, this can get
	     the image on the screen faster, but at the cost of
	     using a new colormap (which on most displays will
	     cause other windows to go technicolor).

     [1m-noclick
	     [0mClicking any button in the window will terminate the
	     application, unless this option is specified.



Printed 31/1/92             Release 4				1






XWUD(1)             UNIX Programmer's Manual		  XWUD(1)



	     Termination can always be achieved by typing 'q',
	     'Q', or ctrl-c.

     [1m-plane [0m_n_u_m_b_e_r
	     You can select a single bit plane of the image to
	     display with this option.	Planes are numbered with
	     zero being the least significant bit.  This option
	     can be used to figure out which plane to pass to
	     _x_p_r(_1) for printing.

     [1m-raw    [0mThis option forces the image to be displayed with
	     whatever color values happen to currently exist on
	     the screen.  This option is mostly useful when
	     undumping an image back onto the same screen that
	     the image originally came from, while the original
	     windows are still on the screen, and results in get-
	     ting the image on the screen faster.

     [1m-rv     [0mIf a bitmap image (or a single plane of an image) is
	     displayed, this option forces the foreground and
	     background colors to be swapped.  This may be needed
	     when displaying a bitmap image which has the color
	     sense of pixel values "0" and "1" reversed from what
	     they are on your display.

     [1m-std [0m_m_a_p_t_y_p_e
	     This option causes the image to be displayed using
	     the specified Standard Colormap.  The property name
	     is obtained by converting the type to upper case,
	     prepending "RGB_", and appending "_MAP".  Typical
	     types are "best", "default", and "gray".  See
	     _x_c_m_a_p(_1) for one way of creating Standard Colormaps.

     [1m-vis [0m_v_i_s-_t_y_p_e-_o_r-_i_d
	     This option allows you to specify a particular
	     visual or visual class.  The default is to pick the
	     "best" one.  A particular class can be specified:
	     "StaticGray", "GrayScale", "StaticColor", "Pseu-
	     doColor", "DirectColor", or "TrueColor".  Or "Match"
	     can be specified, meaning use the same class as the
	     source image.  Alternatively, an exact visual id
	     (specific to the server) can be specified, either as
	     a hexadecimal number (prefixed with "0x") or as a
	     decimal number.  Finally, "default" can be speci-
	     fied, meaning to use the same class as the colormap
	     of the root window.  Case is not significant in any
	     of these strings.

[1mENVIRONMENT
     DISPLAY [0mTo get default display.





Printed 31/1/92             Release 4				2






XWUD(1)             UNIX Programmer's Manual		  XWUD(1)



[1mFILES
     XWDFile.h
	     [0mX Window Dump File format definition file.

[1mSEE ALSO
     [0mxwd(1), xpr(1), xcmap(1), X(1)

[1mCOPYRIGHT
     [0mCopyright 1988, Massachusetts Institute of Technology.
     See _X(_1) for a full statement of rights and permissions.

[1mAUTHOR
     [0mBob Scheifler, MIT X Consortium










































Printed 31/1/92             Release 4				3



[0m