NAME
24to8 - convert a 24- or 32-bit rasterfile to an 8 bit
rasterfile suitable for X11
SYNOPSIS
24to8 [ -v ] [ -q ] [ -large ] [ inrasf | - ] [ outrasf ]
DESCRIPTION
24to8 takes as input a 24- or 32-bit Sun rasterfile and
reduces the depth of the image, from truecolor to 8 bit
colormapped index color. 24to8 uses Floyd/Steinberg dither-
ing to achieve high quality images. By default, this filter
assumes that the color cube in the static colormap is of the
form 5x5x5 (5 reds, 5 greens, and 5 blues).
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.
24to8 interprets the input rasterfile as a packed 24-bit BGR
format or an unpacked 32-bit XBGR-format; the standard Sun
ordering for the red, green, and blue channels. This is the
opposite of older versions of this program, which used the
RGB or XBGR format. Older image files with the RGB format
should be passed through the redxblue(1) filter prior to
dithering with 24to8.
OPTIONS
-v Verbose mode will print information as it processes the
image. (The default is to be silent.)
-q Query (prints list of options)
-large
Dithers into a static colormap with a large color cube
of the form 5x9x5.
SEE ALSO
redxblue(1)
NOTES
The OpenWindows environment may no longer be supported in a
future release. You may want to migrate to CDE, the Common
Desktop Environment.
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |