Hello Friends !
I want to convert the Jpeg, BMP , PNG, DOC , xlsx files into PDF by using C# VS2010 coding.
Can Any one Helps !!!!
Thanks in advance.
Regards
Puneet Ahooja
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajeesh MenothPosted Jan 4, 2016, 6:29 AM
puneet ahoojaPosted Jan 4, 2016, 6:18 AM
Rafnas T PPosted Jan 4, 2016, 5:45 AM
puneet ahoojaPosted Jan 4, 2016, 5:35 AM
Dulal HazarikaPosted Dec 31, 2015, 12:40 PM
The answer to the question depends on the result PDF file. Is it going to be searchable or not? If yes, you'll need an optical character recognition (OCR) to extract the text from the image files then create the PDF. There are OCR engines which can be used such as Tesseract and Lead Tools. These articles may be helpful:
http://www.codeproject.com/Articles/696537/How-to-Use-Tessnet-Library
http://www.codeproject.com/Articles/317163/OCR-with-LEADTOOLS-The-Better-Choice
If you want to convert the image file to PDF so that the PDF contains only the image (picture), the next article gives a good example on how to implement that:
http://www.codeproject.com/Articles/28609/Converting-Image-Files-to-PDF
Rajeesh MenothPosted Dec 31, 2015, 2:31 AM
If you wan to convert file into pdf in c#.Then you can use third party library.
1.ITextsharp
2.Spire.PDF
3.PDFsharp
Check my article for Spire.PDF.ITextsharp large number of example in cshapcorner just search it.
http://www.c-sharpcorner.com/UploadFile/2a6dc5/convert-pdf-to-other-format-using-spire-pdf/
Raja TPosted Dec 31, 2015, 1:40 AM