On 30/11/2012 3:20, Harsha Kaundinya wrote:
Hi Alexis,

i have downloaded the itext version 5.3.4. Can the free mailing list help me now? i have changed it to *import com.itextpdf.text.Image*
*
*
can we now convert this itext image type to java.awt.image?

The question is all wrong.
If you want a java.awt.Image instance, why would you make a detour using com.itextpdf.text.Image? That's similar to making an intermediary stop in Brussels when flying from Washington DC to New York.
Use

java.awt.Image  <http://api.itextpdf.com/itext/com/itextpdf/text/Image.html>  
awtImage = Toolkit.getDefaultToolkit().createImage(RESOURCE);

Where RESOURCE is the path to your image if you want a java.awt.Image instance.
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
_______________________________________________
iText-questions mailing list
[email protected]
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