I am using EVO PDF dll to generate PDF from HTML, but I ma facing problem of large size of the generated PDF file. This HTML contain contains few JPEG images too, I tried compression option in evo but still file size is still High.
If the Original size of HTML is 40 KB then also EVO PDF generates PDF with size 400 KB which is quite HIGH.If we use RDLC to achieve same then RDLC will generate it in 80 or 100 KB. So what things I can do to reduce the PDF size ?
Finally I got success in reducing the size by doing below changes.
1.Use Vector image instead of bitmaps (which takes more size also looses quality after zoom).
2.Use CSS instead of images wherever possible.
3.Use standard fonts.
4.Use
pdfConverter.ConversionDelay = 0
5.Use
pdfConverter.PdfDocumentOptions.EmbedFonts = false
6.Use
pdfConverter.PdfDocumentOptions.CompressCrossReference = true;
7.Use
pdfConverter.PdfDocumentOptions.PdfCompressionLevel = PdfCompressionLevel.Best;
8.If you are using Evaluation copy the size will little more because of "Demo Evaluation Copy" watermark
If even after size is too high then go for Paid .Net PDF compressor dlls like Neeviapdf etc which will be used to compress PDFs generated by EVo (these dlls usually compresses the file to 50% without much losing quality).