I don’t know if this is still true after a year, but I just did it recently, so I decided that I would answer anyway.
Ghostscript (http://sourceforge.net/projects/ghostscript/) // PS/PDF. %PROGRAMDATA\gs\bin\ ( x86, x64) gsdll32.dll /bin.
, Super PDF2Image Converter (http://www.softwaresigloxxi.com/downloading_superPDF2ImageConverter.html), Pdf2Image.dll . zip /bin.
, PDF :
using Pdf2Image;
-
const string _filename = "/3.pdf";
var p2i = new Pdf2ImageConverter(_filename);
int pages = p2i.GetPageCount();
Response.Write(pages);
for (int i = 1; i < pages; i++)
{
int width, height;
p2i.GetPageSize(i, out width, out height);
var pdfimage = p2i.GetImage(i, width, Pdf2ImageFormat.PNG);
pdfimage.Save(string.Format("/{0}.png",i));
pdfimage.Dispose();
}
.