PIX-BW(1)

NAME
pix-bw - combine pix color planes into a bw black and white image

SYNOPSIS
pix-bw [-ntsc] [-crt] [-R[num]] [-G[num]] [-B[num]] [in.pix] > out.bw

DESCRIPTION
Pix-bw will combine or select the color planes of a pix(5) format file from it's standard input and produce a black and white bw(5) file on it's standard output. By default all three colors are weighted equally. The -ntsc uses weighting based on the NTSC primaries and the D6500 alignment white. The -crt flag applies weights for "typical" CRT phosphor chromaticities and the D6500 white.

Individual color plane(s) can be selected via the -R -G and -B flags. If one or more of these flags is followed by a value, the value will be treated as a weight to be applied to that color This value is implicitly 1.0 divided by the number of colors selected for the flags which are not followed by a value.

EXAMPLES
pix-bw -R -B < file.pix > file.bw
will equally blend the red and blue color planes.

pix-bw -R0.30 -G0.59 -B0.11 < file.pix > file.bw
has the same effect as the -ntsc flag.
[The -crt weights are: 0.26, 0.66, 0.08]

SEE ALSO
brlcad(1), pix-bw3(1), bw-pix(1), pix(5), bw(5).

BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>.