|gencolor [-r#] [val1... valN]|
Gencolor repeats a pattern of up to 8192 8-bit values on its standard output. The values, which range from 0 to 255, are taken either from the command line, or in binary from its standard input. The -r flag can be used to specify the number of times to repeat the given pattern, the default being infinity. This program is useful for producing a given grey value or color. Note that gencolor will refuse to write its output to a window, you must redirect the output to a file.
gencolor -r512 0 255 0 > foo.pix Will output 512 "green" pixels
brlcad(1), pix(5), bw(5)
This software is Copyright (c) 1989-2013 by the United States Government as represented by U.S. Army Research Laboratory.
Reports of bugs or problems should be submitted via electronic mail to <email@example.com>.