Re: [iText-questions] Convert com.lowagie.text.Image to java.awt.Image/ to BytrArray

2011-06-29 Thread 1T3XT BVBA
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

[iText-questions] Convert com.lowagie.text.Image to java.awt.Image/ to BytrArray

2011-06-29 Thread geet
Hi frnds, im new to Itext, please help in solving my issue... I have a to get bytearray from com.lowagie.text.Image object . Please let me know if anyone can help me in answering my query... PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("Barcode.pdf")); document