From 876363050943837f1cec4fac7e97bb7c96e4a7f9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 21 Jan 2017 13:18:03 +0100 Subject: Add man pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/blind-colour-srgb.1 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 man/blind-colour-srgb.1 (limited to 'man/blind-colour-srgb.1') diff --git a/man/blind-colour-srgb.1 b/man/blind-colour-srgb.1 new file mode 100644 index 0000000..83817d3 --- /dev/null +++ b/man/blind-colour-srgb.1 @@ -0,0 +1,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 > -- cgit v1.2.3-70-g09d2