dmsherazi / apv

Automatically exported from code.google.com/p/apv
GNU General Public License v3.0
0 stars 0 forks source link

Minor enhancement of display on Nook2 #114

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Nook2 really lacks optimization over its e-ink screen. By adding a 
functionality of changing the Gamma value, we can achieve better display 
results(better than kindle maybe :) ).  Attached is the patch.  It's not 
elegant but I just hope it would be of some help. 

The copy_gamma function copies the pixels and updates their RGB value according 
to the Gamma table. The table is pre-generated using the algorithm described 
here:

http://xjaphx.wordpress.com/2011/06/21/image-processing-gamma-correction-on-the-
fly/

I hard coded the table there as I feel the gamma 0.33 is most suitable for 
Nook2. It's possible to update the table and add a user's interface to change 
the value.

Original issue reported on code.google.com by leilmy...@gmail.com on 28 Apr 2012 at 6:02

Attachments:

GoogleCodeExporter commented 9 years ago
Good idea. But I think it should be customizable so it's n ot just for one 
device. Also, this should work in Gray mode.

Original comment by arpruss on 31 May 2012 at 12:18