views:

114

answers:

6

Hi, I need a library to convert PDF to text or TIFF in C# - preferably open source under a permissive licence. Currently using xpdf but as I understand the GPL I can't compile it into a DLL and link to it without releasing the rest of my code under the GPL.

Does such a library exist? If not, what is the best value tool which would suit my needs? Thanks.

+1  A: 

PDFSharp helps you.

Also

http://pdflib.codeplex.com/

http://msdn.microsoft.com/en-us/library/aa969817.aspx

http://freeimage.sourceforge.net/

Judas Imam
This is no good, since PDFSharp doesn't render PDFs and their suggestion is to use GhostScript (again, this is GPL and so no use to me).
QmunkE
A: 

Pdf4net will do the job, but you'll have to buy it (you can try it out for free for a limited period of time).

See this forum thread for some opinions.

Ando
A: 

LibTiff.NET (BitMiracle) can do it. I've got very good experiences with this (free) library, although in another area (reading/writing gigapixel TIFF files). I have seen the pdf read/write functionality as part of the unit tests supplied with it. I've also found that the programmer provides great support, even better than I've seen for many commercial applications!

The license allows to create applications using it as long as you give credit to the programmers.

Adriaan
A: 

itextSharp

hakan
A: 

Check the following
http://www.codeproject.com/kb/showcase/pdfrasterizer.aspx

Space Cracker
A: 

ITextSharp is an opensource component:

http://sourceforge.net/projects/itextsharp/

Andreas Rehm