add photo processing script

* relies on imagemagick being installed
* improves readibility of badly photoscanned books