Closed mhelff closed 8 years ago
Thanks for the PR, I'll merge that next week (I must refactor the ugly one liner anyway). Btw, I had bad results using -r300x300and had use -density 300 -units pixelsperinch instead to have consistent TIFFs for some apps that would show the result image bigger as it should be.
Totally forgot about this PR...
Hi, this time its a bit more complex...
since tesseract cannot use PDF files as input files, they have to be converted to TIFF first. Ghostscript must be installed to use this feature. I also unwinded the huge OCR-one-liner for tesseract only. Dont know if you like the while-loop + function instead, i'm open for comments.