Skip to content

Commit 4996348

Browse files
committed
OcrWithTesseract page zoom update
1 parent 64d1a55 commit 4996348

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/OcrWithTesseract.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ void OcrWithTesseract(
6969
if (!ocr_doc)
7070
throw std::runtime_error(pdfix->GetError());
7171

72+
ocr_params.zoom = 4;
7273
if (!ocr_doc->Save(save_path.c_str(), &ocr_params, nullptr, nullptr))
7374
throw std::runtime_error(pdfix->GetError());
7475

0 commit comments

Comments
 (0)