Convert scanned documents to binary pdf