tesseract icon indicating copy to clipboard operation
tesseract copied to clipboard

"Failed to begin document " occurs when want to create searchable pdf from an image

Open grigvardanyan opened this issue 4 years ago • 1 comments

Hi,

I want to create pdf from an input image with C#, but during converting it throws exception "Failed to begin document ".

image

grigvardanyan avatar Nov 27 '19 13:11 grigvardanyan

It seems your method calls -- Process and BeginDocument -- are in reverse order. Check out the test case for example.

nguyenq avatar Dec 06 '19 23:12 nguyenq