Every semester of my son's test week, I need to scan all his past worksheets into PDF files and find a way to delete all the answers that he wrote so he could redo them as his revision.

Normally I would scan them into PDF's, convert them to jpg and edit out the answers on a photo editing software. You can imagine thats extremely tedious.

Is there a better solution to this? I have tried PDF editing softwares but every one that I've tried could not cut out/delete sections of the page without going into OCR and making lots of distortions to the layout/text and rendering the file useless.

I have tried to insert the jpgs into Word and putting lots of white rectangles over the answers to cover them. This is a quick way to achieve what I want but the print-out would end up zoomed out, due to the margins that Word has. If I max out the margins (making them all zero), somehow I could not overlay the white rectangles on top of the jpg files without messing up the alignment.

Would desktop publishing software be a good idea? I have tried Scribus and it doesn't seem to help at all.


  • Welcome to Software Recommendations! We need some more details for good recommendations: What OS should it run on? What is your price margin? – Izzy Oct 16 '17 at 9:18
  • Have you tried covering sections using the PDF editor instead of Word? – Natsfan Oct 16 '17 at 15:24
  • Scanning to PDF seems like an unnecessary step that only adds another needless layer. The PDF file only really contains the actual raster image you are after, which only adds complexity to the process. – Duarte Farrajota Ramos Oct 17 '17 at 3:10
  • Dumb idea. Scan them when you get em. No need to edit or scan a bunch of stuff at once. – Journeyman Geek Oct 17 '17 at 6:09

If the handwriting is in a different colour to the rest of the text you could probably use ImageMagick to replace all occurrences of that colour, (within a specific margin of colours), with white. See https://www.imagemagick.org/discourse-server/viewtopic.php?t=18196 for some tips on getting started with this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.