From 1f5fb15af3291703d89ab66b2e548640cca8c1f8 Mon Sep 17 00:00:00 2001 From: zdenop Date: Fri, 14 Dec 2018 19:23:22 +0100 Subject: [PATCH] remove setting constant resolution from ImageThresholder::SetImage. Credible resolution with be set afterward. Fixes #2080. --- src/ccmain/thresholder.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ccmain/thresholder.cpp b/src/ccmain/thresholder.cpp index 9d0a5a5131..3319552a76 100644 --- a/src/ccmain/thresholder.cpp +++ b/src/ccmain/thresholder.cpp @@ -112,7 +112,6 @@ void ImageThresholder::SetImage(const unsigned char* imagedata, default: tprintf("Cannot convert RAW image to Pix with bpp = %d\n", bpp); } - pixSetYRes(pix, 300); SetImage(pix); pixDestroy(&pix); }