Skip to content

Commit

Permalink
remove setting constant resolution from ImageThresholder::SetImage.
Browse files Browse the repository at this point in the history
Credible resolution with be set afterward. Fixes #2080.
  • Loading branch information
zdenop committed Dec 14, 2018
1 parent 6d06d39 commit 1f5fb15
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ccmain/thresholder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1f5fb15

Please sign in to comment.