1XWUD(1) General Commands Manual XWUD(1)
2
3
4
6 xwud - image displayer for X
7
9 xwud [-in file] [-noclick] [-geometry geom] [-display display] [-new]
10 [-std <maptype>] [-raw] [-vis <vis-type-or-id>] [-scale] [-help] [-rv]
11 [-plane number] [-fg color] [-bg color] [-dumpheader]
12
14 Xwud is an X Window System image undumping utility. Xwud allows X
15 users to display in a window an image saved in a specially formatted
16 dump file, such as produced by xwd(1).
17
19 -bg color
20 If a bitmap image (or a single plane of an image) is displayed,
21 this option can be used to specify the color to display for the
22 "0" bits in the image.
23
24 -display display
25 This option allows you to specify the server to connect to; see
26 X(7).
27
28 -dumpheader
29 This option prints out the XWD header information only. Noth‐
30 ing is displayed.
31
32 -fg color
33 If a bitmap image (or a single plane of an image) is displayed,
34 this option can be used to specify the color to display for the
35 "1" bits in the image.
36
37 -geometry geom
38 This option allows you to specify the size and position of the
39 window. Typically you will only want to specify the position,
40 and let the size default to the actual size of the image.
41
42 -help Print out a short description of the allowable options.
43
44 -in file
45 This option allows the user to explicitly specify the input
46 file on the command line. If no input file is given, the stan‐
47 dard input is assumed.
48
49 -new This option forces creation of a new colormap for displaying
50 the image. If the image characteristics happen to match those
51 of the display, this can get the image on the screen faster,
52 but at the cost of using a new colormap (which on most displays
53 will cause other windows to go technicolor).
54
55 -noclick
56 Clicking any button in the window will terminate the applica‐
57 tion, unless this option is specified. Termination can always
58 be achieved by typing 'q', 'Q', or ctrl-c.
59
60 -plane number
61 You can select a single bit plane of the image to display with
62 this option. Planes are numbered with zero being the least
63 significant bit.
64
65 -raw This option forces the image to be displayed with whatever
66 color values happen to currently exist on the screen. This
67 option is mostly useful when undumping an image back onto the
68 same screen that the image originally came from, while the
69 original windows are still on the screen, and results in get‐
70 ting the image on the screen faster.
71
72 -rv If a bitmap image (or a single plane of an image) is displayed,
73 this option forces the foreground and background colors to be
74 swapped. This may be needed when displaying a bitmap image
75 which has the color sense of pixel values "0" and "1" reversed
76 from what they are on your display.
77
78 -scale Allow the window to be resized, and scale the image to the size
79 of the window.
80
81 -std maptype
82 This option causes the image to be displayed using the speci‐
83 fied Standard Colormap. The property name is obtained by con‐
84 verting the type to upper case, prepending "RGB_", and append‐
85 ing "_MAP". Typical types are "best", "default", and "gray".
86 See xstdcmap(1) for one way of creating Standard Colormaps.
87
88 -vis vis-type-or-id
89 This option allows you to specify a particular visual or visual
90 class. The default is to pick the "best" one. A particular
91 class can be specified: "StaticGray", "GrayScale", "Static‐
92 Color", "PseudoColor", "DirectColor", or "TrueColor". Or
93 "Match" can be specified, meaning use the same class as the
94 source image. Alternatively, an exact visual id (specific to
95 the server) can be specified, either as a hexadecimal number
96 (prefixed with "0x") or as a decimal number. Finally,
97 "default" can be specified, meaning to use the same class as
98 the colormap of the root window. Case is not significant in
99 any of these strings.
100
102 DISPLAY To get default display.
103
105 XWDFile.h
106 X Window Dump File format definition file.
107
109 xwud doesn't handle big/deep images very well on servers that don't
110 have the BIG-REQUESTS extension.
111
113 xwd(1), xstdcmap(1), X(7)
114
116 Bob Scheifler, MIT X Consortium
117
118
119
120
121
122X Version 11 xwud 1.0.1 XWUD(1)