fix issue 1228: bilevel pdf output - horizontal/vertical lines removed

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1118 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
zdenop 2014-06-23 21:04:37 +00:00
parent 905e6162b9
commit 95b7783a95

View File

@ -919,7 +919,7 @@ void TessBaseAPI::SetInputImage(Pix *pix) {
pixDestroy(&input_image_); pixDestroy(&input_image_);
input_image_ = NULL; input_image_ = NULL;
if (pix) if (pix)
input_image_ = pixClone(pix); input_image_ = pixCopy(NULL, pix);
} }
Pix* TessBaseAPI::GetInputImage() { Pix* TessBaseAPI::GetInputImage() {