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

pull/2/merge
Tigran Aivazian 12 years ago committed by Qingping Hou
parent b761418236
commit bbbd64d96e

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

Loading…
Cancel
Save