Alexis,

I am using iText to extract pages from a PDF as PdfImportedPage and I was
wanting to store the import page to a BLOB column.  Then later on extract
the PdfImportedPage from the BLOB and create a new PDF with that page.  I
would be using iText to extract the page and using iText to write the new
PDF.

I've used the Netbeans PDF Debug plugin and I've been able to see the Stream
of a page, so I've had the idea that I could extract a page and then write a
PDF with that extracted page.  I am using the following code to write a PDF
directly but I wanted to pull the page content from a BLOB column instead of
an existing PDF.

PdfImportedPage importPage = pdfWriter.getImportedPage(pdfReader, i); 
pdfWriter.addPage(importPage);
pdfWriter.close();
pdfWriter.freeReader(pdfReader);  

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Write-PDF-page-to-database-BLOB-column-tp4525032p4527550.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
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

Reply via email to