View Single Post
Old 08-31-2013, 10:01 AM   #459
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 959
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
Quote:
Originally Posted by tigran View Post
Yes, bitonal DjVu files work fine and I only managed to cause koreader to crash on djvu files when creating several bookmarks and then deleting some of them and creating some more...

But have you tried non-bitonal (COMPOUND) DjVu files? As my code for the rendering mode selection has not yet been ported from kindlepdfviewer to koreader I expect them to be quite unreadable. This is important because most DjVu files available from archive.org are actually not BITONAL, so in kindlepdfviewer I always have to select the render-mode B&W to read them properly. But alas, this is not yet possible in koreader.
This morning I read the following line in defaults.lua:
-- DjVu page rendering mode (used in djvu.c:drawPage())
-- See comments in djvureader.lua:DJVUReader:select_render_mode()
DRENDER_MODE = 0 -- 0 is COLOUR
Would this enable you to switch to B&W?

As for non-bitonal DjVu-files: The cover image of "Rene Descartes The Philosophical Writings of Descartes Volume I 1985" is in color and it gets rendered without problems. Does that answer your question?
Markismus is offline   Reply With Quote