Skip to main content


  • Type : (file: string) => Promise

The parameter should be a valid Object URL of type string. If you have an object of type File ( typically generated by file upload libraries) in hand you must use URL.createObjectURL() to generate a valid URL object.

getImagesFromPDF(file).then((images) => {  // Do something with images pdf pages})