Re: Can I stream to disk?
Bruno <[email protected]> Thu, 15 Nov 2007 11:51:20 +0100
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <[email protected]> |
Hello 2007/11/15, Graham TerMarsch <graham-A8NDs6OoA5Z19/[email protected]>: > > One of the apps I work with uses PDF::API2 to generate PDF files, and > we've > found one use case where I could be generating a PDF file with several > hundred pages of images/graphs/charts. > > To try to help cope with memory issues I wanted to find out if there was > any > way that I could "stream" the PDF to disk, instead of just generating the > whole thing in memory and then spitting it out at the very end. > You can use the "$pdf->finishobjects" method. Regards