1T3XT info wrote: > > I'm not sure if that's the best way to do it. > As it is implemented now getInstance hits the server more than once. > Maybe it's better to read the image bytes in a byte[] first and > create an instance of an Image using the byte array. > > If you still hit the same problem (the IOException), you'll know > the problem is not iText related and you'll be able to address the > people at Google with your problem. >
The problem is the URL.openStream(); which returns a 406 error and a IOException. Unless I am mistaken, in order to get a InputStream to load into a byte array I need to run url.openStream(). So thats a no go. I'm not saying its an iText specific issue, I'm just looking for suggestions on how to get this to work with iText, I maybe going about this the completely wrong way. The chart generation works fine when embedded in a tag, is there any way I could embed something similar in iText. Thanks for your help. -- View this message in context: http://www.nabble.com/Using-Goolge-Chart-Api-or-Eastwood-in-iText-tp15859998p15875528.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
