tags:

views:

4697

answers:

2

Hi all,

I have just come accross a scenerio where I need to convert pdf files to jpg files.

What I would preferably like to do is, when uploading the pdf files, I would like to keep the original pdf file and save it to a folder named "pdf" and also from that pdf I would like to save a jpg version of the pdf to another folder named "jpg".

Is this something that can be achieved using C#. If so could someone please direct me in the right direction.

Thanking You...

+4  A: 

You can surely do that using C# if that is what you prefer but you would best use some 3rd party library for converting the PDF to JPG.

You might want to have a look at the freely available and powerful ImageMagick. It's capable of doing what you want and also provides some .NET bindings (as well as bindings to several other languages).

Btw, this SO question is very similar to yours.

0xA3
Thanks divo for the great response.
Jason
+1  A: 

Please refer to below link...

http://www.codeproject.com/KB/GDI-plus/pdfthumbnail.aspx