Assume you have a PDF file resulting from a scan of multiple pages of a book (in a format smaller than the scanner default format (e.g. 10cm x 20cm and DIN A4)) and that the person who scanned placed the book rather at arbitrary positions on the scanner. Is there a tool which either
- allows autoremoval of those margins (miscalculations of the margin are rather unlikely, but have to be accepted)
- allows to go from page to page and remove the dark margins based on proposals of the program (I don't want to have to use any sort of editing tools beyond that, maybe correct the proposal, but not define the margin from the start by dragging a frame, moving split lines or something similar)
The transformation PDF -> image(s) -> PDF shouldn't be the problem and one can do that with two or three commands on command line, so if a batchable solution exists for images, I'd consider it a solution.