On 28/06/2011 21:31, geet wrote: > i need to get byte array as output for this object So you want to create a barcode, and you need a java.awt.Image? Then you're using the wrong method. Don't use createImageWithBarcode(), use createAwtImage(). Then you have a java.awt.Image you can use to create a JPG, PNG,...
PS: you have posted a mail to itext-questions@lists.sourceforge.net but you weren't subscribed. You are receiving this answer because I've added your mail address in Bcc: I will do this only once! Further answers will be sent to the mailing-list only (you won't receive them if you don't subscribe). Further questions to the mailing-list will be rejected unless you subscribe. Further questions sent to the 1t3xt address will be ignored. Please understand that, as long as you don't subscribe, somebody has to MANUALLY approve your mail among a huge load of SPAM. You can help us avoid this boring administrative job by following the rules: http://itextpdf.com/support.php ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ 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