I am interested in being able to convert the individual pages of a PDF to an image format e.g. jpg. Would this class library be useful for doing this? If so, any code snippets you could post to illustrate this would be greatly appreciated.
as you can read on PDF Clown's website , this library doesn't support pdf rasterization (i.e. rendering to a bitmap format like jpg).
it is now one year since this question is posted. I do not know if this library supports to convert a PDF Page to image now?
recent (and current) developments focused on core pdf functionalities; rasterization is a nice feature, but not a priority. Should someone else decide to contribute such a functionality to PDF Clown, I'd be really happy!
this is something about pdf to image
Dim PDF As New RasterEdgeImaging()
If True Then
PDFInputFile = ("C:/1.pdf")
PDFPageNumber = "5"
ImageOutputFile = ImageFormat.Png
PDF.Save("C:/1.pdf", 1, "C:/1.png")
Sorry to bump this thread again, but on PDFClown 0.1.1 there are a RenderingSample.
I try it, and on a few documents generates a blank image, and on another documents get an exception (Rendering Failed).
I'm doing something wrong? I suppouse I will get an image of pdf page.
as you can read on the accompanying documentation and related blog post , page rasterization is currently under development (pre-alpha), so no assumption can be done; next releases will progressively fill the gaps.