Hello,

I am using iText-1.00 and I get the error when I try to create Image object.

String imagePath = "http://localhost/myImage.gif";;
Image img = Image.getInstance( imagePath );

I get the following error:
java.io.IOException: http://localhost/myImage.gif is not a recognized 
imageformat.
        at com.lowagie.text.Image.getInstance(Unknown Source)
        at com.lowagie.text.Image.getInstance(Unknown Source)

However, if I copy/paste this string directly on the browser, image is 
displayed properly.

Would anyone have an idea what is causing this error?
Thanks,
Suprigya



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to