Convert PDF pages to images

Help
Phil
2008-02-05
2015-08-14
  • Phil

    Phil - 2008-02-05

    Hi

    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.

    Phil

     
    • Stefano Chizzolini

      Hi Phil,

      as you can read on PDF Clown's website [1], this library doesn't support pdf rasterization (i.e. rendering to a bitmap format like jpg).

      Stefano

      [1] http://clown.stefanochizzolini.it/features.html

       
    • Tri Nguyen

      Tri Nguyen - 2009-04-03

      Hi Stefano,
      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?
      Regards.
      rca.

       
      • Stefano Chizzolini

        Hi Tri,

        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!

        Stefano

         
    • carolinenew

      carolinenew - 2013-04-18

      this is something about pdf to image
      Imports System.IO
      Imports System.Drawing.Printing
      Imports RasterEdge.Imaging
      Imports RasterEdge.Imaging.Processing
      Imports RasterEdge.Imaging.Converting.PDFToImage

      Dim PDF As New RasterEdgeImaging()
      If True Then
      PDFInputFile = ("C:/1.pdf")
      PDFPageNumber = "5"
      ImageOutputFile = ImageFormat.Png
      End If
      PDF.Save("C:/1.pdf", 1, "C:/1.png")

       
      • Salvatore

        Salvatore - 2015-08-14

        Thanks for sharing these code. I wonder do I need another PDF to Image Converter to deal with that?

         
  • pipe

    pipe - 2011-05-19

    Hi Stefano,
    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.

    Regards!

     

Log in to post a comment.