• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 472
  • Last Modified:

Convert PDF as Image

I need to convert my Pdf to Image format like Jpeg,Png.Please provide some solution

I tried with one dll, but its Free trail version..
3 Solutions
John HurstBusiness Consultant (Owner)Commented:
I have used Irfanview for this kind of task:   http://www.irfanview.com/

Irfanview has plugins you can use as well

and comes up in the CNET list of top free apps for this.

Norm DickinsonGuruCommented:

onvert PDF to JPG online, PDF to JPG free converter
Convert PDF to JPG online with our free service

Want to convert PDF to JPG? Submit your PDF, we convert it to JPG, online! You will also have the opportunity to download the pictures as a zip file. Our free PDF to JPG online converter is the simplest way to convert PDF to JPG. Nothing to download and to install, the whole process takes place online. We process your PDF documents and convert them to produce high quality JPG. Using an online service help you convert your PDF to JPG quickly, without the burden of installing additional software on your PC.

The service is not only free. We plant a tree for every 5,000 PDF converted to JPG. Learn more.

We hope this PDF to JPG online converter will help you. If you encounter an issue, please contact us.  Why Pdf2Jpg.net is the converter you need

Free PDF to JPG converter
PDF to JPG converter takes place online
Convert PDF to JPG in high definition
PDF to JPG converter starts instantly
Optional email notification once PDF are converted to JPG
Once the PDF is uploaded, convert PDF to JPG with feedback about progress
No need to register to use the PDF to JPG converter
Converted JPG from PDF have no watermark
No limit on PDF pages, the converter converts all of them
Convert PDF to JPG, then removed the PDF and converted JPG after a few hours to protect your privacy
PDF converter produces high quality JPG
Submitted PDF and converted JPG are removed after few hours for confidentiality purposes
Convert PDF to JPG immediatly. Most of the time, PDF are converted to JPG as soon as they are received by Pdf2Jpg.net
Download the JPG as soon as the PDF is converted
Convert PDF to JPG, then zip the JPG for easier download
Fast PDF to JPG conversion
Upload PDF, convert PDF to JPG, download JPG. Can't be easier!
We place great importance on the safe handling of your PDF and and JPG. All uploaded PDF, converted JPG and zip files are removed after a few hours.
Joe Winograd, EE MVE 2015&2016DeveloperCommented:
> but its Free trail version

I assume you mean "trial" and that you want a solution that is free for actual use, not simply a trial. Also, since your Topic is C#, I assume you want a subroutine that you can call from your C# program, not an online solution. So my suggestion is ImageMagick:

Note this at their API page:

Use Magick.NET to convert, compose, and edit images from Windows .NET.

ImageMagickApp is a .NET application written in C# that utilizes the ImageMagick command line to allow conversion of multiple image formats to different formats.

Note this, too:
ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you may use, copy, modify, and distribute in both open and proprietary applications. It is distributed under the Apache 2.0 license.

You may see how ImageMagick works to convert PDF to images by reading these EE articles:
Create an image (BMP, GIF, JPG, PNG, TIF, etc.) from a multi-page PDF
Convert a multi-page PDF file into multiple image files

They talk about GraphicsMagick, which is a fork of ImageMagick and has very similar functionality, but ImageMagick is easier to call from programs without having to do an installation of the software. Btw, the key to getting good quality images is to use the -density option, which you should study and experiment with (place it before the input file).

Another idea is to call a command line executable (an EXE) from your C# program. ImageMagick has that, too (download the portable version and unzip it to extract the EXE), but another way entirely is Xpdf's free (for non-commercial use) PDFtoPNG utility. Here are two 5-minute EE video Micro Tutorials that show how to get the Xpdf utilities and how to use the PDFtoPNG one:
Xpdf - Command Line Utility for PDF Files
Xpdf - PDFtoPNG - Command Line Utility to Convert a Multi-page PDF File into Separate PNG Files

Regards, Joe

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now