8
Answers

How to reduce PDf File size when upload it?

santhosh kumar

santhosh kumar

8y
1.1k
1
Hi,
 
     I have uploading PDF files using asp.net,vb.net. I need to reduce pdf file size with free open source.
 
I googled about it. likes Itextharp this is paid license... Let me know any free open source.
 
 
Thanks in advance,
 
Regards
san15783 
 
  
Answers (8)
1
Anil Mullur

Anil Mullur

NA 2 0 8y
It seem PDFsharp is open source and according to their website it can "Modify, merge, and split existing PDF files".
It's not clear from the site if they can reduce the size of the file but you might want to give it a try.

There’s also another way to reduce the size of the PDF. If it contains images with text, you can extract the text using OCR and save the file as searchable PDF. This produces smaller size files than images in PDF. There's a well known free OCR engine named Tesseract and it has a .NET wrapper.

If you want to handle both OCR and PDF reduction using one library, I don't know of a free tool, but my employer used LeadTools for that and it was rather good.
0
santhosh kumar

santhosh kumar

NA 26 2.3k 8y
Hi,
 
   Thanks, LeadTools is Paid License so Please can u provide code(C#) for Tesseract using OCR compress pdf? bcz i could not get it sample code. 
0
Mohammed Ibrahim

Mohammed Ibrahim

NA 3k 398.6k 8y
ya its possible refer the below link for more information https://www.leadtools.com/help/leadtools/v19/dh/to/leadtools.topics.leadtools~l.topics.creatingacompressedpdffile.html
0
santhosh kumar

santhosh kumar

NA 26 2.3k 8y
Hi ,
 
 
  Can we compress existing pdf using OCR in LeadTools? 
 
Thnks. 
0
Mohammed Ibrahim

Mohammed Ibrahim

NA 3k 398.6k 8y
we do OCR using Tesseract its a open source
0
santhosh kumar

santhosh kumar

NA 26 2.3k 8y
Thanks mohammed, Mainly I am looking on free open source. I googled a lot then could not get it.
 
Please suggest me.
 
thanks 
 
0
Mohammed Ibrahim

Mohammed Ibrahim

NA 3k 398.6k 8y
hi, this may help you http://stackoverflow.com/questions/13719553/compress-existing-pdf-using-c-sharp-programming-using-freeware-libraries
0
santhosh kumar

santhosh kumar

NA 26 2.3k 8y
Thanks, please can you give some examples for OCR and PDF to reduce size?


Thanks in advance.