Dear All, I am trying the following code:
PdfReader pdfReader = new PdfReader(fileName); FileOutputStream output = new FileOutputStream(outputFile); PdfStamper pdfStamper = new PdfStamper(pdfReader, output); Image jpeg = Jpeg.getInstance(pdfStamper.getImportedPage(pdfReader, 1)); Is it possible to get the contents of the image into a byte array? I have noticed that jpeg.getOriginalData() returns null. Why? Thanks and Regards, Murali Krishna Jillella Software Engineer ________________________________ [cid:image001.gif@01CA9B81.B4BE0940] mural...@ocimumbio.com<mailto:mural...@ocimumbio.com> [cid:image002.gif@01CA9B81.B4BE0940] 9000203000 [cid:image003.gif@01CA9B81.B4BE0940] 040-66986766 [cid:image004.gif@01CA9B81.B4BE0940] [cid:image005.gif@01CA9B81.B4BE0940] Global Contacts<http://go.ocimumbio.com/fwlink/?LinkId=939> | www.ocimumbio.com<http://www.ocimumbio.com> | www..genelogic.com<http://www.genelogic.com> ________________________________ [cid:image006.jpg@01CA9B81.B4BE0940]<http://go.ocimumbio.com/fwlink/?LinkId=938> ________________________________ [cid:image007.gif@01CA9B81.B4BE0940] Subscribe to our RSS feeds<http://go.ocimumbio.com/fwlink/?LinkId=629> Follow us on [cid:image008.gif@01CA9B81.B4BE0940] <http://go.ocimumbio.com/fwlink/?LinkId=916> ________________________________ This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions that are unlawful. This e-mail may contain viruses. Ocimum Biosolutions has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system. OCIMUMBIO SOLUTIONS (P) LTD
<<inline: image001.gif>>
<<inline: image002.gif>>
<<inline: image003.gif>>
<<inline: image004.gif>>
<<inline: image005.gif>>
<<inline: image006.jpg>>
<<inline: image007.gif>>
<<inline: image008.gif>>
------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/