add Page
abstract fun addPage(image: ImageRef, sourceOcrPage: Page? = null, binarization: PageBinarization = PageBinarization.ENABLED_IF_BINARIZATION_FILTER_SET): Result<Page>
Adds a page to the PDF document from an ImageRef
Parameters
image
The ImageRef of the image to be added as a page.
binarization
The binarization mode to be applied to the image.