XWUD(1)

๐Ÿ’– XWUD(1) โ€” General Commands Manual: xwud, image displayer for X ๐Ÿ’–

Okay bestie, welcome to the XWUD(1) page โ€” yes, it's the xwud manual, and we're gonna get you comfy with it. It's giving classic Unix, but make it group chat.

โœจ NAME โœจ

xwud โ€” image displayer for X

๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

xwud [-in file] [-noclick] [-geometry geom] [-display display] [-new]
[-std <maptype>] [-raw] [-vis <vis-type-or-id>] [-scale] [-help] [-rv]
[-plane number] [-fg color] [-bg color] [-dumpheader] [-version]

๐ŸŒธ DESCRIPTION ๐ŸŒธ

Xwud is an X Window System image undumping utility. Xwud allows X users to display in a window an image saved in a specially formatted dump file, such as produced by xwd(1).

That's the whole main-character job: undump that image and put it in a window, periodt.

๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -bg color โ€” If a bitmap image (or a single plane of an image) is displayed, this option specifies the color to display for the 0 bits in the image. It's the "0"-bit color, bestie.
  • -display display โ€” Lets you specify the server to connect to; see X(7).
  • -dumpheader โ€” Prints out the XWD header information only. Nothing is displayed. Just the receipts, no image.
  • -fg color โ€” If a bitmap image (or a single plane of an image) is displayed, this option specifies the color to display for the 1 bits in the image. The "1"-bit color energy.
  • -geometry geom โ€” Lets you specify the size and position of the window. Typically you'll only want to specify the position and let the size default to the actual size of the image.
  • -help โ€” Prints out a short description of the allowable options.
  • -in file โ€” Explicitly specify the input file on the command line. If no input file is given, standard input is assumed. So it's stdin by default, no cap.
  • -new โ€” 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. On most displays, that new colormap will cause other windows to go technicolor. So it's speed vs. rainbow chaos, iykyk.
  • -noclick โ€” Clicking any button in the window terminates the application, unless this option is specified. Termination can always be achieved by typing q, Q, or ctrl-c.
  • -plane number โ€” Select a single bit plane of the image to display. Planes are numbered with zero being the least significant bit. So 0 is the LSB, periodt.
  • -raw โ€” Forces the image to be displayed with whatever color values happen to currently exist on the screen. 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 it results in getting the image on the screen faster.
  • -rv โ€” If a bitmap image (or a single plane of an image) is displayed, this 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. Flip the vibe, basically.
  • -scale โ€” Allows the window to be resized and scales the image to the size of the window. Slay.
  • -std maptype โ€” 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 xstdcmap(1) for one way of creating Standard Colormaps.
  • -version โ€” Causes xwd to print its version information and exit. Yes, the page says xwd here; I'm not fixing it, bestie.
  • -vis vis-type-or-id โ€” Lets you specify a particular visual or visual class. The default is to pick the best one. A particular class can be specified: StaticGray, GrayScale, StaticColor, PseudoColor, 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 specified, meaning to use the same class as the colormap of the root window. Case is not significant in any of these strings.

๐ŸŒฟ ENVIRONMENT ๐ŸŒฟ

  • DISPLAY โ€” To get default display.

๐Ÿ“ FILES ๐Ÿ“

  • XWDFile.h โ€” X Window Dump File format definition file.

๐Ÿ’€ BUGS ๐Ÿ’€

xwud doesn't handle big/deep images very well on servers that don't have the BIG-REQUESTS extension.

๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

xwd(1), xstdcmap(1), X(7)

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Bob Scheifler, MIT X Consortium


๐Ÿ’– Signing off from X Version 11 and xwud 1.0.7 โ€” the XWUD(1) footer didn't give a date, so we're timeless, bestie. Mwah! ๐Ÿ’–

๐Ÿ“ฆ where this page comes from