![]() |
#391 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() Last edited by geekmaster; 05-15-2012 at 02:02 PM. |
|
![]() |
![]() |
![]() |
#392 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#393 | ||
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Traditional gamma adjustments primarily affect dark areas though, to compress the large linear brightness range between daytime and night into the fewest bits by exploiting non-linearity in the human eye. When applying an exponential curve to the inverted image, it is technically not "gamma", and this appears to be what you are adjusting because of the inverted color palette (0=white) on the K3 and earlier (and the K4 when booted from the main partition). In all my new code, I use a non-inverted (0=black) color palette, and for kindles that use an inverted color palette (such as the K3) I use the "inverted update" ioctl() function. Quote:
![]() ![]() Last edited by geekmaster; 05-15-2012 at 02:28 PM. |
||
![]() |
![]() |
![]() |
#394 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Why are people who get irritated by technical details and general theory and only want an exact answer tailored to their specific case hanging out in a "Developer's Corner" forum anyway?
|
![]() |
![]() |
![]() |
#395 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
yeah, we just pass through muPdf naming decision :-) And we do that before inverting for the e-ink display. But we won't bother to change naming policy on upstream, I think :-)
And well, this is a thread that has become more and more usage related. While I would prefer developer discussion, I can understand that this is a welcome forum to ask for practical usage related questions. |
![]() |
![]() |
Advert | |
|
![]() |
#396 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() ![]() Last edited by geekmaster; 05-15-2012 at 02:37 PM. |
|
![]() |
![]() |
![]() |
#397 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Apr 2012
Device: Kindle DX Graphite
|
Simplicity is the root of all genius
“Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage — to move in the opposite direction.” Albert Einstein |
![]() |
![]() |
![]() |
#398 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#399 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2012
Device: kindle DXG
|
![]()
There is no way I can press shift+P+D in 0.7 sec. Everytime I input P or D.
Maybe it's my DXG ROM, what should I do? (shift+P+K doesn't work, neither.) |
![]() |
![]() |
![]() |
#400 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Apr 2012
Device: Kindle DX Graphite
|
press shift for a longer time till u align your fingers on P and D. All keys need to be pressed consecutively and not simultaneously
|
![]() |
![]() |
![]() |
#401 | |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Apr 2012
Device: Kindle DX Graphite
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#402 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2012
Device: kindle DXG
|
![]() |
![]() |
![]() |
![]() |
#403 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Apr 2012
Device: Kindle DX Graphite
|
Is LP installed correctly?
if yes try increasing the values(ms) in launchpad.ini : InterKeyDelay = 300 |
![]() |
![]() |
![]() |
#404 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Apr 2012
Device: Kindle DX Graphite
|
|
![]() |
![]() |
![]() |
#405 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2012
Device: kindle DXG
|
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1289 | 04-07-2025 10:18 AM |
Librerator - multi-format e-reader, fork of KPV | Kai771 | Kindle Developer's Corner | 433 | 05-25-2024 03:34 AM |
Yet another PDF viewer (muPDF based) | melihron | PocketBook | 66 | 09-02-2014 03:03 AM |
Text-based PDF to Mobi, etc./Kindle 3 | kidblue | Calibre | 41 | 07-20-2012 03:19 PM |
muPDF on Kindle DX!! | DairyKnight | Kindle Developer's Corner | 8 | 03-21-2010 03:39 AM |