Quote:
Originally Posted by Markismus
This morning I read the following line in defaults.lua: -- DjVu page rendering mode (used in djvu.c:drawPage())
-- See comments in djvureader.lua  JVUReader: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?
|
Rendering a colour cover "without problems" has no bearing on the fact that when every normal page has a background then rendering it in colour mode makes it practically unreadable (i.e. most books from archive.org, but practically no modern books on physics/mathematics which is most of my e-library --- this explains why I didn't bother to port the rendering mode switch code myself).
Yes, changing DRENDER_MODE = 1 should switch it to B&W. But then the colour (or greyscale) pictures embedded on a page of text will disappear, beware.