• 6 Posts
  • 5 Comments
Joined 9 months ago
cake
Cake day: December 27th, 2023

help-circle
  • That was my intuition but then consider this bug in unpaper:

    https://github.com/unpaper/unpaper/issues/230

    I have a script that runs unpaper on PGM files. When the DPI is 600, that bug in unpaper is triggered, but no problem if the source is 300dpi. So it means there is a difference. Although I suppose it’s possible that it’s not really DPI that causes unpaper to produce a truncated image; it could come down to sheer number of pixels. Guess I could work that out by testing further with smaller source scans.

    The reason for my question is that I’d like to write my script to work around that bug. If a source file has more than 300 dpi, I would use ImageMagick instead of unpaper to do the bileveling.

    (update)
    I cropped a 600dpi image in half using GIMP. Then fed that into unpaper. The bug was not triggered and the full canvas was processed correctly. So I think you are right… DPI is not a concept on PGM files. Which implies unpaper’s bug is simply a limitation on the number of pixels it can handle. It’s apparently incidental that scanning a full size page at 600 dpi results in more pixels than unpaper can handle.











  • When the hard-working little swimmers encounter the thicker vaginal mucus, their path is slowed. So the sperm often join together at their heads, which gives them greater swimming speed (up to 50 percent faster) than if they were to carry on individually.

    I wonder why that is. If a group of people were to join together and run, the speed of the group would be capped by the slowest runner. And aerodynamics would be worse.