Can iTextSharp rasterize / export to JPEG or another image format?

I need to be able to export the PDF that I create in JPEG so that users can have a screenshot / thumbnail of the final product, which is faster than opening the entire PDF.

I run this on an ASP.NET website running under Medium Trust in Rackspace Mosso Cloud .

I have yet to find a library that will either work in the trust tool, or in the case of ABC PDF, which works fine locally, it will not load into Mosso. Perhaps Mosso has its own level of trust?

I know that iTextSharp works on Mosso, but I could not figure out how to “take a screenshot” on a single PDF page or export the page to JPEG. Is there anyone who has done this before?

+5
source share
1 answer

No, iTextSharp does not support the rendering of PDF images, knows a lot about internal PDF documents, but nothing about the presentation.

There are also many commercial products that can convert PDF to several image formats. ABC PDF seems good ... but maybe you can find something that works in trust.

, , , Ghostscript Virtual Image Driver, .

+4

All Articles