Comment out the setting of dithering bits because djvulibre ignores anything less than 8 bits anyway.
This commit is contained in:
1 parent
b761418236
commit
bbbd64d96e
1 file changed
+2
-1
@@ -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