Not trivial at all. You would need several things: 1. A Java based renderer that supported a Clip region and when rendering the PDF could detect if any of the commands would affect the clipped regions. These commands would need to be tracked, along with any other commands that might affect the graphics context.
2. A new pdf would need to be created with only the above commands included. This is not an easy thing to accomplish. You might be best rendering to a TIFF file, and then just "grabbing" that portion of the image. On Jan 9, 2007, at 2:59 PM, Craig wrote: > Hello, > > I have several PDF files that are formatted almost identically. > They contain 2 > pages each and are meant to be quad-fold brochures. I'd like to be > able to > extract the left-most quarter of the second page and put it into > its own > separate PDF file. > > I'm confident I can put the second page into its own PDF, but I > only want that > first quarter of the page. Any ideas? > > Thanks in advance... > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
