![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2013
Device: Boox i62HD Firefly
|
Scanned file -force caching
I observed that fastest format for scans is djvu. Although, it's still not as fast as I would like it: inside same page scroll is immidiate, switching to new page is ~6s and returning to page already visited(so cached) is ~2s.
Is there any way to "force" precaching pages? I have i62Firefly and checked that there is plenty of free RAM: base RAM usage is 100MB, after caching 20 pages it's ~130MB, so ~50 pages can be safely loaded. The only 2 straighforward solution I can think of is merging pages(instead of having 50 pages XxY make it one huge page Xx50*Y) and forking djvu_reader.If I would find proper code in boox-opensource/code/src /djvu_reader/ would it suffice to compile it using toolchaing and replace one corresponding binary? EDIT: I've checked, immidiate scrolling inside page is maintained even with page of 15x previous height, it's not really an universal good solution but at least noteworthy Last edited by Pakal; 05-20-2013 at 06:07 AM. |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 99
Karma: 5810
Join Date: Jun 2012
Location: europe
Device: Boox i62HD
|
It's not normal that with a djvu you have to wait 6s each page.
Did you encoded the document to djvu? Is it a doc with colours? My bitonal pages are usually 100-200kb, or even less, in hight resolution (2500p x 3500p). In contrast, a pdf page at the same quality should be 1-2Mb, and that explain why djvu is so fast (swithing to a new page is around 0.5s). I don't understand how your djvu doc can be so complex to require so much memory and cpu. From my point of view, no need to fork the reader, just re-encode better the document. cheers Last edited by Inemi; 05-20-2013 at 06:28 AM. |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2013
Device: Boox i62HD Firefly
|
Inemi: Big thanks! Haven't thought from this side... Pages were 2500x3500 and 100-200KB each, but switching was slow. I resized them to 900x1200 and now switching pages is blazing fast.
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50
Karma: 25754
Join Date: Jun 2012
Device: Onyx M92, K3
|
Is there a djvu reader for Onyx with search capabilities?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A reader for scanned PDF file | zhddz | Which one should I buy? | 4 | 07-27-2012 03:25 AM |
Help with a scanned pdf file | Jach234 | Amazon Kindle | 5 | 04-16-2011 02:17 AM |
Feature Request: Device Caching... | Marauder | Calibre | 3 | 12-30-2009 01:18 PM |
How to force TOC generation out of scanned PDF | magphil | Calibre | 5 | 10-01-2009 04:53 PM |