aboutsummaryrefslogtreecommitdiffstats
path: root/man/blind-chroma-key.1
blob: f185226b7689c5e49a86215ad7e2a866d1ec5634 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.TH BLIND-CHROMA-KEY 1 blind
.SH NAME
blind-chroma-key - Replace a colour range with transparency
.SH SYNOPSIS
.B blind-chroma-key
.I key-stream
.SH DESCRIPTION
.B blind-chroma-key
reads a video from stdin and colours from
.IR key-stream .
Each frame in
.I key-stream
should contain exactly two pixels. The colour of
the first pixel, and all colours with a distance
from that colour upto the same distance the colour
of the second pixel has to that colour, will be
turned into transparency in the video from stdin,
and the resulting video will be printed to stdout.
.P
If the two colours in a frame from
.I key-stream
have the same alpha value, all matching colours
will be turned into full transparency. Otherwise,
the colours matching the first colour will be
given the transparency specified with the first
colour, all other matching colours will have
a transparency between to two specified alpha
values. However, if alpha value of the second
colour is less than the alpha value of the first
colour, twos alpha values are inverted.
.SH SEE ALSO
.BR blind (7),
.BR blind-from-text (1),
.BR blind-colour-ciexyz (1),
.BR blind-colour-srgb (1),
.BR blind-dual-key (1)
.SH AUTHORS
Mattias Andrée
.RI < maandree@kth.se >