generateFromImages

abstract fun generateFromImages(images: List<ImageRef>, pdfConfiguration: PdfConfiguration = PdfConfiguration(), performOcr: Boolean = false, outputURI: String): Result<String>

Generates a PDF document from the provided images.

Return

The result containing the output PDF URI.

Parameters

images

The images to be used for PDF generation.

pdfConfiguration

The configuration for PDF generation.

performOcr

Whether OCR should be performed.

outputURI

The output URI for the generated PDF.