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.open();
      PdfContentByte cb = writer.getDirectContent();     
     String data = code421;
  com.lowagie.text.Image imgShipBarCode =
shipBarCode.createImageWithBarcode(cb, Color.black, color.blue);

i need to get byte array as output  for this object :imgShipBarCode.

Please help me in resolving this..

regards
GGGG

      






--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Convert-com-lowagie-text-Image-to-java-awt-Image-to-BytrArray-tp3631234p3631234.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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

Reply via email to