This project has moved and is read-only. For the latest updates, please go here.

Compressing pdf files

Nov 10, 2015 at 9:42 PM
Hello,

I was wondering if there is a way to compress existing pdf files with this library. I've played wit it a bit and been able to extract pages to other image format but can't figure out if there is a way to just compress a file to reduce its size. Is there a way ?

Thanks,
Max
Nov 10, 2015 at 11:09 PM
Edited Nov 10, 2015 at 11:09 PM
You don't want to use Magick.NET if you want to compress PDF files. Magick.NET will convert the vector data to raster data and that will increase the size when you write the images back to a PDF file.

I don't know which library you should use instead.