Added pagenumber parsing to ImageProcessing