|
Posted by Gary Hasler on 07/06/07 19:09
Sonnich Jensen wrote:
>
> Hi all!
>
> I have a problem using PDFTK.
>
> I create PDF files, 150 pages large, which equals 3-6 Mb. These are
> slooooow causing the server to spend 100% on my stuff...
>
> solution a) another option, which takes less CPU time?
I don't know PDFTK, but I use FPDF which is a PHP class and is quite
slow, and have run into the following:
1. Inserting images into the PDF REALLY slow it down...solution: I
prepare all my images manually in an otherwise blank PDF file, and use
FPDI which can use an existing file as a template and just add new text
to it. This might also apply for you if your PDFs will differ from each
other in only small parts.
2. Encryption REALLY slows it down...solution: don't encrypt if
possible.
Navigation:
[Reply to this message]
|