Comment by bob1029
3 months ago
My favorite approach for PDF rasterization was to interop with a simple, custom Java console application that leveraged Apache PdfBox.
This lasted until the log4j exploit, at which point we had to abandon it altogether due to our customers (banks) having a complete meltdown over it at the time.
It's probably still a really good option. I would definitely go back to it in a different context.
PdfPig [1] is a (partial?) port of PdfBox, I haven't really tried it so far, due to the weak support for PDF creation.
[1] https://github.com/UglyToad/PdfPig