Now checks input image to ensure the implied page size of its .hocr file matches the rest of the PDF.