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
parent 524c8209c0
commit af37e9f14d

3
djvu.c
View File

@@ -100,7 +100,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;
}