PDF doesn't have a concept of embedded shapes, other than line and curve path
operations.  You could certainly try to reconstruct shapes from those
operations, but it may be a tough slog.  If you are talking about embedded
images (as opposed to shapes), then you have a different set of challenges
(handling the multitude of compression algorithms, etc...).

This will involve some serious time reading the PDF spec (it's not hard to
read or understand, but it does take some time and serious effort to really
get into it).

If you are up for it, the com.itextpdf.text.pdf.parser package has an
abstract content stream parser that could be extended to handle draw
operations (preferably by delegating to a DrawListener or some similar
class).  There is already rudimentary (very, very rudimentary) support for
images included via the Do operator.

Good luck!

- K


ChristinaD wrote:
> 
> Hi,
>      Could you please tell the way to extract pdf embedded shapes using
> iText library ?
>      Any pointers to implementation it would be helpful.
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Extract-PDF-shapes-using-iText.-tp26953479p26956942.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to