It is quite straghtforward to render as a bitmap any page of a PDF file by using Apache pdfbox. But how to do it with iText?
Asked
Active
Viewed 237 times
0
-
1AFAIK itext doesn't do rendering into raster images. https://stackoverflow.com/questions/12935204/get-a-page-from-pdf-and-save-it-to-an-image-file-with-itext?lq=1 – Tilman Hausherr Sep 27 '19 at 08:20
1 Answers
2
Ex-iText employee here.
This is currently not possible with iText.
If you'd look at the GitHub repositories of iText, you'd see that they also use an external tool ImageMagick to render PDF to image.
Joris Schellekens
- 7,863
- 1
- 21
- 50