Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ scn2x11(1) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

scn(1)

xscn(1)

xwud(1)

SCN2X11(1)  —  NEWS-OS Programmer’s Manual

NAME

scn2x11 − Converts data obtained with an image reader to the X11 window dump format

SYNOPSIS

scn2x11 [ options...  ] [ < infile ] [ > outfile ]

DESCRIPTION

scn2x11 inputs image data created using scn(1) or xscn(1) on the standard input, converts the data into the X Window System (Version 11) window dump format (XWD File Version 7), and outputs the result on the standard output.  Image data to be input must include a header.  With scn(1), it is possible to create image data including a header by using the −h option.  With xscn(1), it is not possible to create image data including a header. 

OPTIONS

−v scn2x11 allows the output of messages on the standard error output.  If this option is not specified, no messages will be displayed. 

−d depth
Specifies the value to be output for pixmap_depth of the XWD format data when image data includes depth information (multi-dimensional data).  The default value is 4.  For 2-dimensional or deiza data, the value used for the pixmap_depth is 1 and this option is ignored. 

−br bits_per_rgb
Specifies the value to be output for bits_per_rgb of the XWD format data when image data includes depth information (multi-dimensional data).  The default value is 4.  For 2-dimensional or deiza data, the value used for the pixmap_depth is 1 and this option is ignored. 

−bp bits_per_pixel
Specifies the value to be output for bits_per_pixel of the XWD format data when image data includes depth information (multi-dimensional data).  The default value is 4.  For 2-dimensional or deiza data, the value used for the pixmap_depth is 1 and this option is ignored. 

−co colormap_size
Specifies the value to be output for colormap_entries of the XWD format data when image data includes depth information (multi-dimensional data).  The default value is 16.  For 2-dimensional or deiza data, the value used for the colormap_entries is 2 and this option is ignored. 

−cl visual_class
Specifies the value to be output for visual_class of the XWD format data when image data includes depth information (multi-dimensional data). 
The value used for each visual_class is shown below. 

StaticGray0
GrayScale1
StaticColor2
PseudoColor3

The default is 3. For 2-dimensional or deiza data, the value used for the visual_class is 0 and this option is ignored. 

−z Sets the value to be output for pixmap_format of the XWD format data to ZPixmap when image data includes depth information (multi-dimensional data).  The default is XYPixmap.  For 2-dimensional or deiza data, the value used for the pixmap_format is XYBitmap and this option is ignored. 

−help Displays a help message. 

EXAMPLE

Execute the command as follows when you wish to display converted image data on the display using xwud(1). (No options are needed when displaying 2-dimensional or deiza data.)

NWB-223, NWB-225
%  scn2x11  <  infile >  outfile
 NWB-223+NWB-280, NWB-225+NWB-280, NWB-251
% scn2x11 −d 8 < infile > outfile
 NWB-514
% scn2x11 −cl 1 < infile > outfile
 

DIAGNOSTICS

Sets the value to be output for byte_order of the XWD format data to MSBFirst and the value of bitmap_bit_order to MSBFirst when image data includes depth information (multi-dimensional data). 

Only a value of 1 or 4 is allowed for the bpd (bits per dot) value for data to be input. 

When the format ZPixmap is specified, no values other than 4 or 8 can be accepted as the depth. 

FILES

XWDFile.h

SEE ALSO

scn(1), xscn(1), xwud(1)

COPYRIGHT HOLDER

Copyright (c) 1989, 1990, 1991, 1992, 1993 Sony Corporation

NEWS-OSRelease 4.2.1R

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