wrote on 2017-06-07:
I am currently generating PDFs for my webapplication. However, the PDF files differ in file sizes ranging from 0.5MB to 6MB. I assume this depends heavily on the number of images in it.
Is there a way to limit the file size of the PDFs in order to keep my customers happy with a small file that could easily be attached to an email, for example.
Thanks in advance,
wrote on 2017-06-08:
you can suppress images at all by calling API method enableImages(False)
use some PDF distiller (e.g. ghostscript, Adobe) for compressing images on your local server.