I am using PDFSharp to create a pdf document, however when I add images to the pdf, the file size goes up dramatically, even though I am compressing my images to 300x300 pixels and 72dpi resolution. When I create a pdf without images, it is about 300kb which is great, but the second I add a few images at this resolution and size, it goes up to 5mb. Up to 25 images can be added, which would make my pdf a ridiculous size. Does anyone have any suggestions?
I have placed my code for compressing my images here:
http://stackoverflow.com/questions/2678 ... -are-72dpi.