Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

24to8(1)

redxblue(1)  —  USER COMMANDS

NAME

redxblue − swap red and blue for a 24 or 32 bit rasterfile. 

SYNOPSIS

redxblue [-v] [-q] [inrasf|-] [outrasf]

DESCRIPTION

redxblue converts an old-style 24 or 32 bit rasterfile into the newer, Sun-standard format.  The old format had the byte ordering RGB for 24-bit rasterfiles and XRGB for 32-bit rasterfiles.  The new format has BGR for 24-bit rasterfiles and XBGR for 32-bit rasterfiles.  The conversion is performed simply by swapping the red and blue bytes. The primary use of this utility is to prepare rasterfiles in the old format for dithering with 24to8 or viewing with the NeWS ’readcanvas’ operator.  It is also possible to use this filter for converting from a new style format into the old format.

OPTIONS

−v Verbose mode will print information as it processes the image.  (The default is to be silent.) 

−q Query (prints list of options)

SEE ALSO

24to8(1)

Sun Release 4.1  —  Last change: 7 May 1990

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