blind

suckless command-line video editing utility
git clone git://git.suckless.org/blind
Log | Files | Refs | README | LICENSE

blind-colour-srgb.1 (1865B)


      1 .TH BLIND-COLOUR-SRGB 1 blind
      2 .SH NAME
      3 blind-colour-srgb - Convert sRGB for use with blind-single-colour(1) and blind-colour-matrix(1)
      4 .SH SYNOPSIS
      5 .B blind-colour-srgb
      6 [-%
      7 .IR format ]
      8 [-d
      9 .IR depth ]
     10 [-l]
     11 .I red
     12 .I green
     13 .I blue
     14 .SH DESCRIPTION
     15 .B blind-colour-srgb
     16 converts the sRGB colour with the specified
     17 .IR red ,
     18 .IR green ,
     19 and
     20 .I blue
     21 values to CIE XYZ and prints the result to stdout
     22 in plain text, such that it can be used with
     23 .BR blind-single-colour (1).
     24 If
     25 .BR blind-single-colour (1)
     26 is modified in the future to use another colour
     27 model than CIE XYZ,
     28 .B blind-colour-srgb
     29 will be modified to convert the values into
     30 that colour model.
     31 .P
     32 .IR red ,
     33 .IR green ,
     34 and
     35 .I blue
     36 may be floating-point values and may be negative
     37 or beyond the maximum value encodable in an
     38 unsigned integer with
     39 .I depth
     40 bits.
     41 .SH OPTIONS
     42 .TP
     43 .BR -% \ \fIformat\fP
     44 Selects in what format parameters are printed.
     45 .I format
     46 may include the prefix
     47 .B +
     48 that specified that non-negative values should be prefixed with a
     49 .BR + .
     50 After any prefix, there may be a positive number specifying
     51 the percision of the output, optionally followed by either of
     52 the letters
     53 .BR a ,
     54 .BR e ,
     55 .BR f ,
     56 other
     57 .B g
     58 (other their synonymous uppercases),
     59 at most once, with the same semantics as in
     60 .BR printf (3).
     61 .B f
     62 is used if this letter is omitted.
     63 
     64 If ommited,
     65 .B 25f
     66 is used. This default is selected for ease of
     67 interoperability with other software, however,
     68 .B a
     69 is recommeded to improve performance and remove
     70 truncation error.
     71 .TP
     72 .BR -d " "\fIdepth\fP
     73 If all three parameters are
     74 .RI 2^ depth -1,
     75 the colour is 100 %. (default: 8)
     76 .TP
     77 .BR -l
     78 The values are encoded linearly instead of with
     79 the sRGB transfer function.
     80 .SH SEE ALSO
     81 .BR blind (7),
     82 .BR blind-single-colour (1),
     83 .BR blind-colour-matrix (1),
     84 .BR blind-colour-ciexyz (1)
     85 .SH AUTHORS
     86 Mattias Andrée
     87 .RI < maandree@kth.se >