Tool for cropping out diagrams from chess puzzle book

Sort:
shihabdider

EDIT: I figured out how to do this using Infranview, a free software that allows the user batch process images (including batch crop)

As the title says, I have a pdf of an old book of chess puzzles and I want to crop out all of the puzzles (as images) which I then copy+paste into a excel sheet with the corresponding answers to the puzzle. (This is to randomize the the puzzles, as well as to build a database of positions).

The book layout is like so:

PPPPPPPPP|PPPPPPPP

PPPPPPPPP|PPPPPPPP

PPPPPPPPP|PPPPPPPP

--------------|------------

PPPPPPPPP|PPPPPPPP

PPPPPPPPP|PPPPPPPP

PPPPPPPPP|PPPPPPPP

 

Where P = the diagram of the puzzle and the lines are dividers separating the puzzle diagrams.

Since all the pages are like this I want something will "slice" along the dividers giving me 4 images per page. Is there any way to do this other than the mind-numbing tedium of manually cropping screenshots?

Martin_Stahl
shihabdider wrote:

Since all the pages are like this I want something will "slice" along the dividers giving me 4 images per page. Is there any way to do this other than the mind-numbing tedium of manually cropping screenshots?

Yeah, the other "mind-numbing tedium" of entering the positions into a chess database program and entering the solution there. I've done that with some physical books but it does take a while. The benefit is, that I can export to a PGN and move it around to different programs or devices (like my tablet and a tactic program there).

Doc_Detroit

Chess OCR app?

SilentKnighte5

You'd be better off converting the puzzles to pgn.  Copying and pasting into an excel spreadsheet seems like more work than even I'm willing to do.

SilentKnighte5

You could also save a ton of time by just cutting the diagrams out of the book and gluing them to flashcards.

shihabdider

Thanks for the answers, but I've solved the problem the best I can using Infranview (see OP edit). It's essentially what you suggested SilentKnighte5 (with the cutting out diagrams) but using JPEG's and handy batch cropping I saved months of work.