I have a requirement to dynamically generate and compress large batches of PDF files.
I review conventional algorithms
Any other suggestion is welcome.
My question is which algorithm can give me the smallest file size. Speed and efficiency are also important factors, but size is my main concern.
It also matters if I have many small files or fewer large files in each archive.
Most of my processing will be done in PHP, but I am happy to interact with third-party executables, if necessary.
Edit:
Documents are mainly invoices and should not contain any other images than the company logo