I have a pdf file URL that iam getting from the database and I want to convert that pdf to png, jpg, or jpeg but I don't want to download that file to user's phone only convert the file from URL and then display it. I am using PdfThumbnail package but it's not working with file URL it requires a content URI or file URI
const filePath = `https://www.clickdimensions.com/links/TestPDFfile.pdf`;
const results = await PdfThumbnail.generateAllPages(filePath).catch((e) => Errored(e));
console.log(results)
iam getting this error
[Error: File https://www.clickdimensions.com/links/TestPDFfile.pdf not found]