image + classpath 2007-11-12 - By Bompart Cedric
Back 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 values for the "width/height/original type" if I'm printing the image properties to the console ).
I've tried to load it via a byte array, a URL, a String.
Is there any issue with this loading method?
I've tried to bypass the Image.getInstance(...) and used directly the correct codec (e.g.: PngImage) and I'm getting the same result...
Any idea?
Regards, Cedric.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ 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/
|
|