NYCPHP Meetup

NYPHP.org

[nycphp-talk] Splitting multi-page PDFs

Andrew Yochum andrew at plexpod.com
Fri Mar 14 12:24:06 EDT 2008


On Fri, Mar 14, 2008 at 12:14:37PM -0400, csnyder wrote:
> I'd like to be able to split multi-page PDFs into single pages on the server.
> 
> My first choice for doing this would be a command-line tool, unless
> this is ridiculously easy within PHP using the PDFLib functions... but
> those seem more concerned with building documents rather than tearing
> them apart...
> 
> Anyone know how to do this?

I believe the PDI functions allow you to do that.  You can "import" an existing
PDF or page from a PDF and place it into the doc you're constructing.

HTH,
Andrew

-- 
Andrew Yochum
Plexpod
andrew at plexpod.com
718-360-0879



More information about the talk mailing list