#1 2012-09-20 03:49:00

rossmcm
Member
Registered: 2012-09-19
Posts: 9

Using Synopse PDF as a compression engine only.

For reasons I won't go into, I'm stuck with an existing PDF generation tool for Delphi that produces PDFs OK, except they aren't compressed and it doesn't have that as an option.  I can achieve what I want by opening the PDF's produced in Acrobat Reader and then saving them again - the resulting PDF is 30% of the size it was.

My question - Instead of using Acrobat to compress the PDF dould I call a routine written using Synopse PDF to read the PDF file and then save it again with compression enabled?  That would be much less work than recoding all the reporting stuff in Synopse.

TIA,
R

Offline

#2 2012-09-20 11:42:32

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,237
Website

Re: Using Synopse PDF as a compression engine only.

There is no PDF reading methods yet, nor plan to write them.

So even if the task could be done with SynUnit, the unit is not prepared to do it easily.

There are some free command-line tools to do this task, AFAIK.
Just google for it. wink

Offline

Board footer

Powered by FluxBB