If the page has atleast one image I would like to copy the page out. I found the example on splitting pages from a pdf but I do not know how to decide if a page has an image.
Leonard Rosenthol-3 wrote: > > What if the page contains more than just a single image? What if it > contains text or vectors? > > Copying an entire page from one PDF to another is easy and there are > examples in the book. Copying only some of the content of a page is much > more complex and you're on your own there... > > -----Original Message----- > From: MWooldridge [mailto:[email protected]] > Sent: Friday, February 19, 2010 9:25 AM > To: [email protected] > Subject: Re: [iText-questions] Extraction > > > Yes, I would simply like to either extract the image and write a new pdf > file > with just that image or write a new pdf file for each page that contains > an > image. > > Thanks for the support. > > Mark > > > Leonard Rosenthol-3 wrote: >> >> By extract, do you mean copy from one PDF to another, or something else? >> >> It is possible to use iText to determine the size of an image on a page, >> though it's not trivial as you'll need to use the content parser and keep >> track of matrix algebra. >> >> -----Original Message----- >> From: MWooldridge [mailto:[email protected]] >> Sent: Thursday, February 18, 2010 3:40 PM >> To: [email protected] >> Subject: [iText-questions] Extraction >> >> >> Is it possible to extract pages of a pdf that contain atleast 1 image? >> If so can an example be provided? Can the size of the image(s) on the >> page >> be obtained? >> >> Thanks, >> >> Mark >> -- >> View this message in context: >> http://old.nabble.com/Extraction-tp27645293p27645293.html >> Sent from the iText - General mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> 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/ >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> 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/ >> >> > > -- > View this message in context: > http://old.nabble.com/Extraction-tp27645293p27652984.html > Sent from the iText - General mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > 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/ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > 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/ > > -- View this message in context: http://old.nabble.com/Extraction-tp27645293p27658342.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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/
