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
The problem initially occurred when using ocrmypdf. I did some testing trying to run unpaper with the settings in the error message directly from the commandline and it produced an empty file.
Running without any of the options (just infile and outfile) yields the same result.
The temporary files created by unpaper are empty as well.
There is no error message, but the outputfile is empty (filesize is 0 bytes).
Messages
unpaper -vvvv --dpi 200.086207 --layout none --mask-scan-size 100 --no-border-align --no-mask-center --no-grayfilter --no-blackfilter --no-deskew temp-01.ppm temp-01-1.ppm
unpaper 6.1
License GPLv2: GNU GPL version 2.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
-------------------------------------------------------------------------------
Processing sheet #1: temp-01.ppm -> temp-01-1.ppm
loading file temp-01.ppm.
Input #0, ppm_pipe, from 'temp-01.ppm':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: ppm, rgb24, 1237x1751, 25 fps, 25 tbr, 25 tbn
Output #0, image2, to '_loaded_0.pnm':
Stream #0:0: Unknown: none
Output #0, image2, to '_page0.pnm':
Stream #0:0: Unknown: none
Output #0, image2, to '_before_center_page0.pnm':
Stream #0:0: Unknown: none
Output #0, image2, to '_after_center_page0.pnm':
Stream #0:0: Unknown: none
blackfilter DISABLED for all sheets.
noisefilter-intensity: 4
blurfilter-size: [100,100]
blurfilter-step: [50,50]
blurfilter-intensity: 0.010000
grayfilter DISABLED for all sheets.
mask points:
mask-scan-direction: [horizontal]
mask-scan-size: [100,100]
mask-scan-depth: [-1,-1]
mask-scan-step: [5,5]
mask-scan-threshold: [0.100000,0.100000]
mask-scan-minimum: [100,100]
mask-scan-maximum: [-1,-1]
mask-color: 16777215
deskew-scan DISABLED for all sheets.
border-scan-direction: [vertical]
border-scan-size: [5,5]
border-scan-step: [5,5]
border-scan-threshold: [5,5]
border-align: []
border-margin: [0,0]
white-threshold: 0.900000
black-threshold: 0.330000
sheet-background: white ffffff
dpi: 200
input-files per sheet: 1
output-files per sheet: 1
input-file-sequence: temp-01.ppm
output-file-sequence: temp-01-1.ppm
input-file for sheet 1: temp-01.ppm
output-file for sheet 1: temp-01-1.ppm
sheet size: 1237x1751
...
Output #0, image2, to '_before-stretch1.pnm':
Stream #0:0: Unknown: none
Output #0, image2, to '_after-stretch1.pnm':
Stream #0:0: Unknown: none
+ blackfilter DISABLED for sheet 1
Output #0, image2, to '_before-noisefilter1.pnm':
Stream #0:0: Unknown: none
Output #0, image2, to '_after-noisefilter1.pnm':
Stream #0:0: Unknown: none
noise-filter ... deleted 434 clusters.
Output #0, image2, to '_before-blurfilter1.pnm':
Stream #0:0: Unknown: none
Output #0, image2, to '_after-blurfilter1.pnm':
Stream #0:0: Unknown: none
blur-filter... deleted 0 pixels.
+ grayfilter DISABLED for sheet 1
+ deskewing DISABLED for sheet 1
+ auto-centering DISABLED for sheet 1
Output #0, image2, to '_before-border1.pnm':
Stream #0:0: Unknown: none
Output #0, image2, to '_after-border1.pnm':
Stream #0:0: Unknown: none
writing output.
The text was updated successfully, but these errors were encountered:
System information
Input file
temp-01.ppm PPM 1237x1751 1237x1751+0+0 8-bit sRGB 6.19695MiB 0.010u 0:00.008
Additional information
The problem initially occurred when using ocrmypdf. I did some testing trying to run unpaper with the settings in the error message directly from the commandline and it produced an empty file.
Running without any of the options (just infile and outfile) yields the same result.
The temporary files created by unpaper are empty as well.
There is no error message, but the outputfile is empty (filesize is 0 bytes).
Messages
The text was updated successfully, but these errors were encountered: