Hi
I'm new to this iText.
I want to create a pdf with an .eps image in that.
i'm able to create a pdf with other formats of image(like .gif,jpeg,bmp
etc). But unable to create with the format of .eps.
will you please any one tell me how to do it.
I'm using iTest 2.1.5.
Her is my code.
BufferedImage image = ImageIO.read(new File("C:\\image.eps"));
Image image = Image.getInstance (readImage(),new Color(2));
document.add(image);
It is giving error like this...
Exception in thread "main" java.lang.NullPointerException
at java.awt.image.PixelGrabber.<init>(PixelGrabber.java:168)
at com.lowagie.text.Image.getInstance(Unknown Source)
at com.lowagie.text.Image.getInstance(Unknown Source)
help me in this.
--
View this message in context:
http://www.nabble.com/how-to-insert-.eps-image-tp23758563p23758563.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
iText-questions mailing list
[email protected]
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/