blind-invert-luma.1 - blind - suckless command-line video editing utility
 (HTM) git clone git://git.suckless.org/blind
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       blind-invert-luma.1 (1212B)
       ---
            1 .TH BLIND-INVERT-LUMA 1 blind
            2 .SH NAME
            3 blind-invert-luma - Invert the luminosity of a video
            4 .SH SYNOPSIS
            5 .B blind-invert-luma
            6 [-iw]
            7 .I mask-stream
            8 .SH DESCRIPTION
            9 .B blind-invert-luma
           10 reads a video from stdin and a mask video from
           11 .IR mask-stream .
           12 The video is printed to stdout, with the luminosity
           13 inverted where, in
           14 .IR mask-stream ,
           15 the product of the luminosity and the alpha value is
           16 1, and unchanged where the product is 0. For other
           17 products, the result is linearly interpolated or
           18 linearly extrapolated.
           19 .P
           20 If stdin is longer than
           21 .IR mask-stream ,
           22 the remainder of stdin is printed without any changes.
           23 If stdin is shorter than
           24 .IR mask-stream ,
           25 the remainder of
           26 .I mask-stream
           27 is ignored but may be partially read.
           28 .SH OPTIONS
           29 .TP
           30 .B -i
           31 Invert the luminosity in
           32 .I mask-stream
           33 before calculating the product of the luminosity and
           34 the alpha value.
           35 .TP
           36 .B -w
           37 Instead of using CIE Standard Illuminant D65 as the
           38 whitepoint, use the X and Z from each pixel in
           39 .I mask-stream
           40 for the whitepoint.
           41 .SH SEE ALSO
           42 .BR blind (7),
           43 .BR blind-single-colour (1),
           44 .BR blind-arithm (1),
           45 .BR blind-set-alpha (1),
           46 .BR blind-set-luma (1),
           47 .BR blind-set-saturation (1)
           48 .SH AUTHORS
           49 Mattias Andrée
           50 .RI < maandree@kth.se >