summaryrefslogtreecommitdiffstats
path: root/info
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-18 03:31:13 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-18 03:31:25 +0100
commitf0287b86fb6d323052496337c83d9d7fb43c1819 (patch)
tree33525c6c74c90cc3ede68218f0a0720910384b08 /info
parentwhoops (diff)
downloadblueshift-f0287b86fb6d323052496337c83d9d7fb43c1819.tar.gz
blueshift-f0287b86fb6d323052496337c83d9d7fb43c1819.tar.bz2
blueshift-f0287b86fb6d323052496337c83d9d7fb43c1819.tar.xz
quite a bit of the text based configuration example
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'info')
-rw-r--r--info/blueshift.texinfo19
1 files changed, 19 insertions, 0 deletions
diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo
index a9934c7..ffcd814 100644
--- a/info/blueshift.texinfo
+++ b/info/blueshift.texinfo
@@ -791,6 +791,25 @@ that apply the profiles when invoked.
@end table
+If you have multiple profiles you want to interpolate
+or want to, possible with an interpolation, apply a
+profile partially, that is, interpolate between it an
+an identity profile, you can use the function
+@code{make_icc_interpolation}. It takes your profiles
+as one argument, as a list, and outputs a function
+that applies an interpolation of the profiles,
+it takes to arguments: the timepoint and the filter
+alpha. The timepoint is normally a [0, 1] floating point
+of the dayness level, this means that you only have two
+ICC profiles, but you have multiple profiles, in such
+case profile the floor of the timepoint value is takes
+as the index of the first profile to use in the
+interpolation as well as the following profile (first
+profile if the last profile was select). They are
+interpolated linearly. The filter alpha is a [0, 1]
+floating point of the degree to which the profile should
+be applied.
+
If you want to apply your adjustments on top of the
current colour adjustments, you can use the functions
@code{randr_get} or @code{vidmode_get}. @code{randr_get}