Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] IText problem with images

geronimof

2007-07-19

Replies:

Hi,

I am using itext to create dynamic web pdf.
For some reason when i add the
Image jpg = Image.getInstance("image.gif");
I get a ExceptionConverter: java.io.IOException: The document has no pages
error.

This works when i save it on a pdf locally, but it doesnt work when I try to do it dynamically on a web, using bytearrayoutputstream.

--
This message was sent on behalf of geronimof@(protected)
http://www.opensubscriber.com/messages/itext-questions@(protected)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.