Skip to content

[Bug]: deskew results in "empty" output file #1438

Open
@hatl

Description

@hatl

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

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

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions