Calculation software for leafcasting pulp fill amounts, based on image of document to be leafcast