Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sb2xwd(1) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xwd(1)

xwud(1)

bitmapfile(4)

SB2XWD(1)  —  X Version 11

Release 5

NAME

sb2xwd − translate Starbase bitmap to xwd bitmap format

SYNOPSIS

sb2xwd

DESCRIPTION

This command translates a bitmap file created by one of the Starbase bitmap-to-file procedures into an XWD format file.  The XWD format is defined by the xwd(1) and xwud(1) X window dump utility programs.  The Starbase bitmap file format is described in bitmapfile(4).  Translation is done from standard input to standard output.  Starbase bitmaps created in pixel-major format will be translated into ZPixmap format xwd bitmaps.  Plane-major full-depth Starbase bitmaps are translated into XYPixmap format xwd bitmaps.  XWD bitmaps produced by sb2xwd will be of the DirectColor visual class if the Starbase bitmap’s colormap mode is CMAP_FULL and the depth is greater than 8.  All other multiplane Starbase bitmaps will result in PseudoColor XWD bitmaps.  Single plane Starbase bitmaps are converted to GreyScale XWD bitmaps. 

OPTIONS

none

EXAMPLES

sb2xwd < sbfile > xwdfile
Translates the Starbase image in sbfile to XWD format and places the result in xwdfile. 

sb2xwd < sbimage | xwud
Translates the image in sbimage, piping the results to xwud for display. 

RESTRICTIONS

sb2xwd accepts only full-depth Starbase bitmaps.  Starbase bitmaps must be 1-8, 12, or 24 planes deep.  Bitmaps of depth less than 8 must have either CMAP_NORMAL or CMAP_MONOTONIC colormap modes. Bitmaps of depths 12 or 24 must have the CMAP_FULL colormap mode. A 12 plane bitmap must be stored in three banks and have a display enable mask of 0x0F or 0xF0.

ORIGIN

Hewlett-Packard GTD

SEE ALSO

xwd(1), xwud(1), bitmapfile(4).  Starbase Graphics Techniques, HP-UX Concepts and Tutorials, chapters on "Color" and "Storing and Printing Images". 

Hewlett-Packard Company  —  HP-UX 9.0 August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026