aboutsummaryrefslogtreecommitdiffstats
path: root/man/blind-set-alpha.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/blind-set-alpha.1')
-rw-r--r--man/blind-set-alpha.133
1 files changed, 33 insertions, 0 deletions
diff --git a/man/blind-set-alpha.1 b/man/blind-set-alpha.1
new file mode 100644
index 0000000..8e53c18
--- /dev/null
+++ b/man/blind-set-alpha.1
@@ -0,0 +1,33 @@
+.TH BLIND-SET-ALPHA 1 blind
+.SH NAME
+blind-set-alpha - Multiply the alpha channel of a video
+.SH SYNOPSIS
+.B blind-set-alpha
+[-i]
+.I alpha-stream
+.SH DESCRIPTION
+.B blind-set-alpha
+reads a video from stdin and a mask video from
+.IR alpha-stream .
+The video is printed to stdout, with each alpha value
+multiplied by the product of the luminosity and the
+alpha value of the corresponding pixel and frame in
+the mask video.
+.P
+If stdin is longer than
+.IR alpha-stream ,
+the remainder or stdin is printed without any changes.
+If stdin is shorter than
+.IR alpha-stream ,
+the remainder of
+.I alpha-stream
+is ignored but may be partially read.
+.SH OPTIONS
+.TP
+.B -i
+Use the inverse luminosity of the mask video instead
+of the luminosity. It is still multiplied by the
+alpha value.
+.SH AUTHORS
+Mattias Andree
+.RI < maandree@kth.se >