aszomor,

aszomor wrote
> But the Apache PdfBox able to extract hero1.jpg from hero.pdf:
> java -jar pdfbox-app-1.7.1.jar PDFToImage -imageType jpg -startPage 1
> -endPage 1 hero.pdf

That command does not extract an existing bitmap image from the page but it
renders (draws) the PDF page to a new picture.

The drawing in the PDF is not present as a bitmap but instead as a vector
graphic using PDF path operators.

If you are interested in extracting these path operations using iText, you
might be interested in the stackoverflow question "Extract graphical
Elements and its coordinate from PDF":
http://stackoverflow.com/questions/14296898/extract-graphical-elements-and-its-coordinate-from-pdf

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/How-can-I-extract-hero-imge-from-hero-pdf-tp4657369p4657387.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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

Reply via email to