aboutsummaryrefslogtreecommitdiffstats
path: root/man/blind-chroma-key.1
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-07-07 20:58:16 +0200
committerMattias Andrée <maandree@kth.se>2017-07-07 20:58:16 +0200
commitd1a5dfdf162d1e1200e7ee1060435d76a028d4c4 (patch)
tree46f1518b9277c9dafe0006f1daf62a3f4ae4ae63 /man/blind-chroma-key.1
parentAdd blind-dual-key (diff)
downloadblind-d1a5dfdf162d1e1200e7ee1060435d76a028d4c4.tar.gz
blind-d1a5dfdf162d1e1200e7ee1060435d76a028d4c4.tar.bz2
blind-d1a5dfdf162d1e1200e7ee1060435d76a028d4c4.tar.xz
Add blind-chroma-key
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/blind-chroma-key.1')
-rw-r--r--man/blind-chroma-key.139
1 files changed, 39 insertions, 0 deletions
diff --git a/man/blind-chroma-key.1 b/man/blind-chroma-key.1
new file mode 100644
index 0000000..f185226
--- /dev/null
+++ b/man/blind-chroma-key.1
@@ -0,0 +1,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 >