pdfToImage function
JavaScript binding to convert a PDF to a single image
This external function calls the pdfToImage
JavaScript function, passing a JSString
input path of the PDF file.
It returns a JSPromise
which resolves to the resulting image.
Implementation
@JS('pdfToImage')
external JSPromise pdfToImage(JSString inputPath);