From bbbd64d96eb896ad29a8776002e456c042bd3ec4 Mon Sep 17 00:00:00 2001 From: Tigran Aivazian Date: Sun, 2 Sep 2012 18:57:37 +0100 Subject: [PATCH] Comment out the setting of dithering bits because djvulibre ignores anything less than 8 bits anyway. --- djvu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/djvu.c b/djvu.c index 7772c41f1..fa882c462 100644 --- a/djvu.c +++ b/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; }