You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Run `ocrmypdf --jobs 6 -l deu --output-type pdf --rotate-pages --rotate-pages-threshold 12.0 --skip-text --clean --deskew scan0003.pdf output.pdf`
2. output is broken
remove deskew and the output is fine
This appears to be related to a general issue with cropped page boxes in ocrmypdf.
The rather unusual mediabox for the input file has these dimensions
0 449.835616 249.069767 842
Describe the bug
When running ocrmypdf on some files (all cropped in PDF Arranger), the output is broken.
The issue only occurs when adding the
deskew
flag.I ran into this issue using the latest version of paperless-ngx.
see also: paperless-ngx/paperless-ngx#8375
Steps to reproduce
Files
scan0003.pdf
output.pdf
How did you download and install the software?
Ubuntu snap
OCRmyPDF version
16.6.3.dev8+gfe89be5d
Relevant log output
No response
The text was updated successfully, but these errors were encountered: