generate From Image Refs
abstract fun generateFromImageRefs(images: List<ImageRef>, pdfConfig: PdfConfiguration = PdfConfiguration.Companion.default()): Result<File>
Generate PDF from given images ImageRefs.
Return
Result.Success with generated PDF File if PDF was generated successfully, Result.*Error otherwise.
Parameters
images
list of source ImageRefs
pdf Config
extra PDF configuration
abstract fun generateFromImageRefs(images: List<ImageRef>, outputFile: File, pdfConfig: PdfConfiguration = PdfConfiguration.Companion.default()): Result<Unit>
Generate PDF from given images ImageRefs.
Return
Result.Success if PDF was generated successfully, Result.*Error otherwise.