I have the following... com.lowagie.text.Document pdfdocument = new
com.lowagie.text.Document(); PdfWriter writer2 =
PdfWriter.getInstance(pdfdocument, new FileOutputStream("test.pdf")); pdfdocument.open(); PdfContentByte cb =
writer2.getDirectContent(); Graphics2D g2d =
cb.createGraphics(PageSize.A4.width(), PageSize.A4.height()); panel.paint(g2d); g2d.dispose(); pdfdocument.close(); Now, I want to convert this to an Image and insert the image into another PDF document. How do I convert the document to an Image??? |
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions