I am currently utilizing Vue.js and attempting to convert a PDF file to PNG or another image format directly within the browser. My current setup involves reading the PDF from a URL using PDF.js
along with the Vue.js component pdfvuer.
let instance = this;
instance.pdfData = pdfvuer.createLoadingTask(
"https://any-pdf-link"
);
instance.pdfData.then(pdf => {
console.log(pdf.numPages)
})
My query is, what steps should I take next in order to achieve the conversion to an image?