Quote:
Originally Posted by AnthonyPaulO
Hi!
Was just checking out the documentation and I believe that the way to go would be to specify an absolute mask using --mask and specifying the sizes and then disabling the border detection using --no-border-scan since the mask already strips out the border. This would only work for PDF's whose pages are all uniform with respect to their margins. For those cases where pages vary in margins then another approach is needed where the mask remains auto-detected but the border detection is tweaked so that it would ignore page numbers and such. In any case I'm on my iPhone so I can't put anything to the test right now but when I get home I'll run some test and post my findings... I have to first check out the proper syntax for specifying the sizes for --mask.
Regards,
Anthony
Anthony
|
I did try experiementing with unpaper when I was updating PDFRead to v1.8, but I can't remember which parameters worked better and what absolute pixels sizes I used for mask/border/threshold. I do remember getting good results from it, though, so I do think trying to figure this out will be worth it!
I'll help you, if I can. Good luck!