c# split a pdf file into separate images

What libraries are there to split a pdf file into separate pages and save them as jpg?

 1
Author: axmed2004, 2018-04-18

1 answers

You can use various libraries to do this.

  • iText allows you to split a PDF document, but not convert a PDF to an image.
  • GhostScript allows you to display each page of the document as an image.

    Gs -dNOPAUSE -dBATCH -sDEVICE=png16m -r150 -sOutputFile='[outputfile]' '[inputfile]'

 2
Author: Joris Schellekens, 2018-05-08 14:48:11