You will also need the entire extended graphics state and find some way to convert that into Java2D. Also, you have the problem that many aspects of PDF (such as Type 3 fonts, smooth shadings, the transparency model, etc.) have no equivalent in J2D.
Leonard On 9/11/12 7:35 PM, "Kevin Day" <[email protected]> wrote: >As Michael says, the draw operations are not currently supported in the >parser. The ultimate intent *is* to have a PathRenderInfo callback, so if >you want to start poking at that a bit, I'd be happy to provide input. > >As for getting paths into an image, that should be fairly straightforward >to >do (you'll translate the path operations into Graphics2D draw operations >and >render the curves onto a canvas that you can then convert to a bitmap). >The >hard part will be getting the render operations correct - especially >because >you will almost certainly have to deal with clipping regions and that sort >of thing. > > > > >-- >View this message in context: >http://itext-general.2136553.n4.nabble.com/How-to-extract-images-which-is- >composed-of-Paths-tp4656260p4656275.html >Sent from the iText - General mailing list archive at Nabble.com. > >-------------------------------------------------------------------------- >---- >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >iText-questions mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/itext-questions > >iText(R) is a registered trademark of 1T3XT BVBA. >Many questions posted to this list can (and will) be answered with a >reference to the iText book: http://www.itextpdf.com/book/ >Please check the keywords list before you ask for examples: >http://itextpdf.com/themes/keywords.php ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
