I stand corrected, ppeterka is right. Look at this question and this answer where you see a pdf being renderd to canvas, so from there-on you indeed have a image.
converting pdf pages to images using js [closed]
-
16-01-2022 - |
Question
How to export a PDF document into a series of individual images(jpeg, png or bmp format) using javascript or jquery?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow