SCREENLOAD ( I ) USER COMMANDS SCREENLOAD ( 1) NAME screenload - restore frame buffer image 0 SYNOPSIS screenload [ -d ] [ -t display ] [ -lindex ] [ -b ] [ -g ] [ -w ] [ -h# [#### [ ... ]]] [ file ] DESCRIPTION Screenload accepts input in Sun standard raster file format (see / usr/include/ rasterfile.h) and attempts to display the input on the appropriate monitor (monochrome or color). Screenload normally displays rasterfiles on the console display, but displays them on some heuristically deter- mined color display if it finds no console display. Screenload displays color rasterfiles only on a color monitor. Screenload is able to display monochrome rasters on a color display.
If the dimensions or the image contained in the input data are smaller than the actual resolution of the display (e.g. loading a 1024-by-800 Sun-1 image on a 1152-by-900 Sun-2 display), screen- load centers the image on the actual workstation screen and fills the border area with solid black (by default). Various options may be used to change the fill pattern. Ir the dimensions of the image contained in the input data are larger than the actual resolution of the display, screenload clips the right and bottom edges of the input image. If the~e is an optional filename argument, screenload reads its input data from that file.
It' no filename argument is given, screenload reads its input data from the standard input. The utility program screendump creates Sun standard rasterfiles from the display on a Sun Workstation monitor. OPTIONS -d Verify that display dimensions and input data image dimensions match, and print warn- ing messages if they do not. 0 -f display Use display as the name or the frame buffer device. If the image is smaller than the display, use index (0 index 256) as the index value into the color map for the foreground color of the border fill pattern. The default index value is 255.
-b If the input data dimensions are smaller than the display dimensions, fill the border with a pattern of solid ones ( default). On a monochrome display this results in a black border; on a color display the color map value selected by the -1 option determines the border color. -g If the input data dimensions are smalle·r than the display dimensions, fill the border with a pattern of "desktop grey". On a monochrome display this results in a border matching the background pattern used by the SunWindows system; on a color display the color map value selected by the -1 option determines the foreground border color, though the pattern is the same as on a monochrome display.
-w Ir the input data dimensions are smaller than the display dimensions, fill the border with a pattern or solid zeros. On a monochrome display this results in a white border; on a color display the color map value at index O determines the border color. -h# If the input data dimensions are smaller than the display dimensions, fill the border with the bit pattern described by the following # 16-bit hexadecimal constants. Note that a "I" bit is black and a "O" bit is white on the monochrome display; on a color diplay the color map value selected by the -1 option determines the border foreground color. The number of hex constants in the pattern is limited to 16. -lindex 0 260b Last change:
8 August 1984 Sun Release 1.4