+ Start a Discussion

Save PDF Pages As Individual Images

Hey Everyone,

I am trying to retrieve a PDF from an external site.
I have been able to grab the PDF using this tutorial as a start. (link below)

What i am trying to do after the fact is to save each page of the grabbed PDF as an image (jpg, png) to then save as a salesforce attachment.
Searches have come up empty, but does anyone have any ideas on how to solve for saving the individual pdf pages as image?

Tutorial being used to save the pdf: https://www.sundoginteractive.com/blog/saving-the-contents-of-an-image-or-file-url-and-saving-to-an-attachment-or