How to convert to PDF from other file types: Upload your file to our online PDF converter. The tool will instantly upload and transform the file into a PDF. Compress, edit or modify the output file, if necessary. Download the PDF to your device, or export it to Dropbox or Google Drive. You can convert PDF to PNG format in just a few clicks: add the PDF file by clicking the 'Add file' button or simply drag and drop it, set the conversion quality (High/Medium/Low), click the 'Convert PDF' button, and save ready PNG image (or archive with images if the original PDF had multiple pages).
I want to convert Pdf pages in Images using ItextSharp lib.
Have any idea how to convert each page in image file
Prithvi Raj NandiwalPrithvi Raj Nandiwal96533 gold badges1313 silver badges3232 bronze badges
4 Answers
![Free Free](http://csharp.net-informations.com/file/img/pdf-assembly-files.png)
iText/iTextSharp can generate and/or modify existing PDFs but they do not perform any rendering which is what you are looking for. I would recommend checking out Ghostscript or some other library that knows how to actually render a PDF.
Community♦
Chris HaasChris Haas40.4k77 gold badges102102 silver badges216216 bronze badges
you can use ImageMagick convert pdf to image
convert -density 300 'd:1.pdf' -scale @1500000 'd:a.jpg'
and split pdf can use itextsharp
here is the code from others.
changcnchangcn
You can use Ghostscript to convert the PDF files into Images, I used the following parameters to convert the needed PDF into tiff image with multiple frames :
Also you can use the -q parameter for silent modeYou can get more information about its output devices from here
After that I can easily load the tiff frames like the following
Amer SawanAmer Sawan1,50111 gold badge1616 silver badges3030 bronze badges
you can extract Image from PDF and save as JPG here is the sample code you need Itext Sharp
ReddyReddy