24TO8(1) — USER COMMANDS
NAME
24to8 − convert a 24 bit rasterfile to an 8 bit one suitable for X11/NeWS.
SYNOPSIS
24to8 [ −v ] [ −q ] [ inraster | − ] [ outraster ]
DESCRIPTION
24to8 takes as input a 24 bit Sun rasterfile(5) and reduces the depth of the image, from truecolor to 8 bit colormapped index color. 24to8 uses Floyd/Stienberg dithering to achieve high quality images while maintaining the X11/NeWS static colormap.
If both filenames are missing, the source rasterfile is read from stdin and the output rasterfile is written to stdout. If there is only one filename, then it is interpreted as the input rasterfile. To have a named output rasterfile and still read the input rasterfile from stdin, use a dash (-) in place of the input filename.
OPTIONS
−v Verbose mode will print information as it processes the image. (The default is to be silent.)
−q Query (prints list of options)
BUGS
Floyd/Stienberg dithering could be bidirectional and use blue noise for better results.
SEE ALSO
lpr(1), 8to24(1), tga2ras(1), rgb2ras(1), ras2ps(1)
AUTHOR
Patrick Naughton (naughton@wind.sun.com)
COPYRIGHT
Copyright (c) 1989 by Sun Microsystems, Inc.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.
Sun Release 4.1 — Last change: 21 Mar 1989