Adds a page to the PDF document from an ImageRef
The ImageRef of the image to be added as a page.
The binarization mode to be applied to the image.