aboutsummaryrefslogtreecommitdiffstats
path: root/man/blind-colour-srgb.1
blob: 83817d33f7d609a42eb114020af8b6f890070131 (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
40
41
42
43
44
.TH BLIND-COLOUR-SRGB 1 blind
.SH NAME
blind-colour-srgb - Convert sRGB to CIE XYZ
.SH SYNOPSIS
.B blind-colour-srgb
[-d
.IR depth ]
[-l]
.I red
.I green
.I blue
.SH DESCRIPTION
.B blind-colour-srgb
converts the sRGB colour with the specified
.IR red ,
.IR green ,
and
.I blue
values to CIE XYZ and prints the result to stdout
in plain text, such that it can be used with
.BR blind-single-colour (1).
.P
.IR red ,
.IR green ,
and
.I blue
may be floating-point values and may be negative
or beyond the maximum value encodable in an
unsigned integer with
.I depth
bits.
.SH OPTIONS
.TP
.BR -d " "\fIdepth\fP
If all three parameters are
.RI 2^ depth -1,
the colour is 100 %. (default: 8)
.TP
.BR -l
The values are encoded linearly instead of with
the sRGB transfer function.
.SH AUTHORS
Mattias Andree
.RI < maandree@kth.se >