mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Comment out the setting of dithering bits because djvulibre ignores anything less than 8 bits anyway.
This commit is contained in:
committed by
Qingping Hou
parent
b761418236
commit
bbbd64d96e
3
djvu.c
3
djvu.c
@@ -99,7 +99,8 @@ static int openDocument(lua_State *L) {
|
||||
}
|
||||
ddjvu_format_set_row_order(doc->pixelformat, 1);
|
||||
ddjvu_format_set_y_direction(doc->pixelformat, 1);
|
||||
ddjvu_format_set_ditherbits(doc->pixelformat, 4);
|
||||
/* dithering bits <8 are ignored by djvulibre */
|
||||
/* ddjvu_format_set_ditherbits(doc->pixelformat, 4); */
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user