Re: [iText-questions] image + classpath

2007-12-07 Thread Vackar
Hi, I had the exact same problem. The reason it wasn't working for me was that I was treating the image as a file, but when you add the image to a jar file it's treated as a resource (different from a file) So file specific logic won't work. The way I eventually got it working was to load the re

Re: [iText-questions] image + classpath

2007-11-14 Thread Mark Hall
> So it look like it's an issue with my WAR file/environment/libraries/etc... > :-( > > If the image has a black background the resulting image is completely > black, same behaviour with a white background so the image is completely > white. Unfortunately I can't help you much either. I haven't don

Re: [iText-questions] image + classpath

2007-11-12 Thread Mark Hall
Hi, if you could provide a small, runnable example for me to test, then I'll look further into this. Unfortunately I'm pretty busy and currently don't have time to construct my own test case. Two other questions: * Does it work with the PdfWriter? * Are no exceptions being generated? Regards,

Re: [iText-questions] image + classpath [RTF]

2007-11-12 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bompart Cedric > Sent: Monday, November 12, 2007 4:20 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] image + classpath > > Hello, > &g

[iText-questions] image + classpath

2007-11-12 Thread Bompart Cedric
Hello, I'm using itext 2.0.6 (jdk 1.4). I've got an issue with rendering an image in RTF. If I'm loading an image from the file system, it works fine. But if I'm loading an image from the classloader (embedded in a jar/war file), the output RTF document has an empty image (I have the expected v