Search code examples
abcpdf

ABCPDF Alter image compression when carrying out doc.AddImageUrl


Using ABCPDF, currently generating pdf's with 1mb files. When we alter the pdf in acrobat pro, and simply change the image quality this drops the size to 100K.

I have looked at the documentation for ABCPDF however I cannot find a simple example of dropping the image quality prior to saving the document, hence getting a smaller pdf.


Solution

  • Appears simple :

    doc.HtmlOptions.ImageQuality = 33;