View Single Post
Old 05-15-2012, 02:01 PM   #392
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
I don't see that we would have set an upper limit. In fact, in the "+" direction, the configuration value for "gamma" is increased. Doesn't make much sense, because geekmaster is right about that it should be the other way around. However, I think it might be a case of e-ink speciality that the highest pixel value means the darkest shade of gray.

To put things short: on "vol+" key, gamma is multiplied by 1.25, on "vol-" key it is multiplied by 0.8. So just count "+" presses and then replace the value you have already found in unireader.lua by 1.25^n(presses). Or just try some values without bothering for math.

This operation is done before mapping 8bpp grayscale to 4bpp grayscale, so the effect makes at least some sense.

This could be a configurable global setting in some future version of this software.
hawhill is offline   Reply With Quote