Comment out the setting of dithering bits because djvulibre ignores anything less than 8 bits anyway.

This commit is contained in:
Tigran Aivazian
2012-09-02 18:57:37 +01:00
committed by Qingping Hou
parent b761418236
commit bbbd64d96e

3
djvu.c
View File

@@ -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;
}