Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > HanLin eBook

Notices

Reply
 
Thread Tools Search this Thread
Old 11-15-2009, 11:44 AM   #1
tigran
Zealot
tigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
DjVu viewer with full zoom and panning around the page

I have written a DjVu viewer for Hanlin V3 (aka "BeBook 1" or "Pixelar" or "Lbook V3" depending on where you live). I called it libdjvu to match the name of the plugin "libdjvu.so". It is written in C and uses GPL'd djvulibre library.

The main features are: arbitrary level zoom (down to microscopic level, so you can examine individual dust specks present while the book was scanned and panning the view window around the page.

Note that this means that not only all scanned books (literally _millions_ of them!) are now available for reading on Hanlin V3 but also any "nasty" PDF (i.e. those which can't be handled by Adobe reader properly) can be very easily converted to DjVu (via pdftoppm, cjb2 and djvm) and handled by this viewer.

The source code (GPL) and both the arm and i386 binaries are here:

http://www.bibles.org.uk/libdjvu-1.1.tar.gz

but most of you are probably more interested in a ready-made firmware image containing it. So here it is as well (based on the latest lbook one but you can easily set the language to English if you don't like Russian as default):

http://www.bibles.org.uk/hanlin-v3-firmware.zip

To use it just open any .djvu file as usual and use the following keys:

ZOOM IN/OUT: Volume '+'/'-' keys
There are menu options for increasing/decreasing the zoom step.

ZOOM RESET TO DEFAULT (i.e. FIT WIDTH): Long press volume '+' key

PAN AROUND THE PAGE: Next/Prev buttons (on the left side) for vertical and long presses of these for horizontal movement.
There are menu options for increasing/decreasing the horizontal and vertical movement steps.

ROTATE: Long press 'OK' to toggle between Landscape and Portrait modes. Note that rotating resets the zoom level to default zoom state.

TOGGLE BETWEEN COLOUR AND B&W MODES: Long press volume '-' key.
(colour mode is important for many Google Books and archive.org djvu files because they sometimes split the text between different layers. I personally always convert important stuff to pure bitonal format but not everyone is willing to spend time or knows how to do it, so I implemented this toggle).

Try "About..." menu option to see various bits of info, current zoom level, step values, current rendering mode etc.

Comments, bugreports etc etc => tigran@bibles.org.uk.

Last edited by tigran; 11-15-2009 at 11:46 AM.
tigran is offline   Reply With Quote
Old 11-15-2009, 11:37 PM   #2
keng2000
Researcher and Consultant
keng2000 has a complete set of Star Wars action figures.keng2000 has a complete set of Star Wars action figures.keng2000 has a complete set of Star Wars action figures.keng2000 has a complete set of Star Wars action figures.
 
Posts: 210
Karma: 364
Join Date: Nov 2008
Location: Bangkok, THAILAND
Device: MACBOOKPRO17" HP2400TX SONYUX27
Very nice library...
I will try it.
keng2000 is offline   Reply With Quote
Advert
Old 11-16-2009, 03:29 PM   #3
tigran
Zealot
tigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
I fixed a couple of bugs pointed out by folks at the-ebook.org and uploaded the current stable version to the following location:

http://www.bibles.org.uk/libdjvu

Note that I have now started adding some advanced features and optimizations so it will be a long while (more than two days before I make the next version available, i.e. call it "stable".

Last edited by tigran; 11-17-2009 at 04:22 PM.
tigran is offline   Reply With Quote
Old 11-18-2009, 09:58 AM   #4
Siorghlas
Member
Siorghlas began at the beginning.
 
Siorghlas's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2009
Location: Madrid, Spain
Device: Hanlin V3
I find your work very interesting and useful. Have you thought of integrating it with OpenInkpot? That would be a good marriage.
Siorghlas is offline   Reply With Quote
Old 11-18-2009, 10:38 AM   #5
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,016
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
Quote:
Originally Posted by Siorghlas View Post
I find your work very interesting and useful. Have you thought of integrating it with OpenInkpot? That would be a good marriage.
I was thinking the same thing.
mbovenka is offline   Reply With Quote
Advert
Old 11-19-2009, 09:52 AM   #6
tigran
Zealot
tigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
Quote:
Originally Posted by Siorghlas View Post
I find your work very interesting and useful. Have you thought of integrating it with OpenInkpot? That would be a good marriage.
Thank you, I will consider it. But first I need to complete the current version and make sure it is as efficient and stable as possible.
tigran is offline   Reply With Quote
Old 11-19-2009, 10:52 PM   #7
allen
Member
allen began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2009
Device: none
Quote:
Originally Posted by tigran View Post
Thank you, I will consider it. But first I need to complete the current version and make sure it is as efficient and stable as possible.
Tigran! Good Job! Mr Aivazian
allen is offline   Reply With Quote
Old 11-21-2009, 08:00 AM   #8
sankar10
Member
sankar10 began at the beginning.
 
Posts: 17
Karma: 14
Join Date: Nov 2007
Device: HANLIN V3
djvu

This might be the best news for people likeme who have lots of badly scanned pdf books and would like to use hanlin to read them , if only they knew how.
sankar10 is offline   Reply With Quote
Old 11-23-2009, 05:29 AM   #9
Siorghlas
Member
Siorghlas began at the beginning.
 
Siorghlas's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2009
Location: Madrid, Spain
Device: Hanlin V3
Tigran, I wonder what firmware version from which manufacturer have you used in the integrated version you have for download. And related to it, I'd like to know if it would be difficult to integrate the library with newer firmwares. If I were to do it myself with my preferred firmware, would I have to recompile the firmware? How would I do it?
Siorghlas is offline   Reply With Quote
Old 11-23-2009, 02:20 PM   #10
tigran
Zealot
tigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
I have just released the final stable version 1.3 of libdjvu:

http://www.bibles.org.uk/libdjvu/

As for the base firmware --- I used the latest lbook.ua one plus I made some modifications to speed up startup, speed up update (removed unused programs, e.g. screen calibration is not needed for Hanlin V3 which has no touchscreen), fixed some spelling/grammar errors in both English and Russia menus etc etc.

If you want to use libdjvu.so in another firmware you have to copy arm-lib/libdjvu.so to wherever the libraries are stored in your version. In mine it is in /usr/lib of rootfs cramfs image. Also, to be on the safe side, copy the libdjvulibre* files (and symlinks) from my image as these I compiled myself and tested whereas some others may or may not work with my libdjvu.so.

Last edited by tigran; 11-23-2009 at 02:23 PM.
tigran is offline   Reply With Quote
Old 11-30-2009, 08:21 AM   #11
tigran
Zealot
tigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
I released the version 1.6 which has Spanish localization plus some more optimizations and an extra feature (you have to turn it on via menu option) to show previous window position via horizontal line --- this helps the eye to quickly locate the next line to read when panning the window vertically.
tigran is offline   Reply With Quote
Old 11-30-2009, 09:31 AM   #12
Siorghlas
Member
Siorghlas began at the beginning.
 
Siorghlas's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2009
Location: Madrid, Spain
Device: Hanlin V3
Wow, I'd just downloaded v1.5 a couple of hours ago! Keep up the good work!
Siorghlas is offline   Reply With Quote
Old 12-05-2009, 02:37 PM   #13
tigran
Zealot
tigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
I moved the project to SourceForge.net:

http://sourceforge.net/projects/libdjvu/
tigran is offline   Reply With Quote
Old 12-06-2009, 06:22 PM   #14
avysk
Junior Member
avysk began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2009
Device: Hanlin V3
Is it possible to have your viewer as separate thing running from SD card, instead of reflashing the device?
avysk is offline   Reply With Quote
Old 12-07-2009, 10:17 AM   #15
tigran
Zealot
tigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
Quote:
Originally Posted by avysk View Post
Is it possible to have your viewer as separate thing running from SD card, instead of reflashing the device?
Unfortunately, not. The reason is because the paths to plugins are hardcoded in Jinke's viewer software so they cannot be changed. However, what you can do (if you want to use the rest of your firmware and only replace the DjVu support) is to take libdjvu.so and libdjvulibre.so* files from my V3update.bin and put them in rootfs/usr/lib of your V3update.bin firmware image.

Today I have released libdjvu 1.8 which has support for multicolumn mode of window movements. This is useful for reading books typeset in two (or more) columns, e.g. encyclopedias.
tigran is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iLiad My djvu viewer ericshliao iRex Developer's Corner 8 10-17-2010 08:28 AM
iLiad DJVU Viewer in Java on the iLiad scotty1024 iRex Developer's Corner 61 07-14-2010 10:36 PM
iLiad has a djvu viewer for Chinese fiimware ? laozhang iRex Developer's Corner 0 04-26-2010 08:56 PM
Full-Screen Panning Picture bug on Kindle 2 forkyfork Amazon Kindle 5 05-21-2009 04:27 PM
iLiad DJVU viewer? riccioberto iRex Developer's Corner 5 01-06-2008 10:23 AM


All times are GMT -4. The time now is 08:14 PM.


MobileRead.com is a privately owned, operated and funded community.