A PDF may have an unlimited number of paths that are used for clipping - there is not just a single one.
In order to extract path data from a PDF, you would need to parse the content stream looking for the appropriate operators and being sure to keep an appropriate "state stack" to track the graphics state. Leonard On Jan 28, 2008, at 1:34 PM, Ulf Müller-Baumgart wrote: > Hi, > I would like to get the "clipping path" from a PDF. The PDF is created > with Photo Shop (Adobe) in X4-Format. PS save the clipping path in the > content stream of the page. I like to use Java and so I found > iText. Is > there another/better possibility? > > Thank you in advance for your help > Ulf Müller-Baumgart > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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/ > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/
