View Single Post
Old 12-13-2006, 10:07 PM   #25
alex_d
Addict
alex_d doesn't litteralex_d doesn't litter
 
Posts: 303
Karma: 187
Join Date: Dec 2006
Device: Sony Reader
man, you always come in with these great little pearls. They seem small at first, but they're always exactly what i'm missing. That link'll be great to get the ToC running.

One cool thing I noticed: If you press the page forward key multiple times in one of my BBeBs, the pages turn at exactly 1s/page (ie the refresh rate), but the first turn takes 2s. I wonder if I can make every page turn in 1s.


Ok, version 0.9.5 brings these improvements:

Support for landscape resolution. The actual orientation, however, is chosen on the Reader so you always have a little flexibility.
About 4x smaller file size (sometimes even smaller than the original pdf).
Somewhat better image algorithm. Still not perfect, but it's an improvement esp for very small letters. (All i'm really doing is applying the old one at higher res and then downsampling... this adds the antialiasing that was missing)
Lastly, there's some fixes and polishings (imagemagick wants to load all images into memory before processing, which can use up gigabytes. therefore, i have to feed it one image at a time)


some more musings:
The 2s to start up, 1s to turn is a bit puzzling. I guess maybe there's 1s of processing that must be done and when flipping through pages it's overlapped with eInk. I tried using uncompressed bitmaps to reduce processing but couldn't get lrs2lrf to accept them. Also, seeing as the framebuffer for the 800x600 2-bit screen is only 120KB, sony really has NO excuse for not pre-rendering the page ahead. $@#$ sony. what kind of brain dead developer would not think to do that.... &^$%! sony.

Also, the render-at-high-res-then-downsample isn't really a huge leap and wastes a lot of time (especially in landscape). Ugh... what kind of filter could I use? Maybe compute a distance-weighed average of surrounding pixels and then use that value for the current pixel only if it's darker than the current pixel?

UPDATE:
the version i posted had a small change i forgot to undo. (i mean bug). So use 0.9.6.

Last edited by alex_d; 12-13-2006 at 11:03 PM.
alex_d is offline   Reply With Quote