[iText-questions] image + classpath [RTF] 2007-11-12 - By Paulo Soares
Back
> -- --Original Message-- -- > From: itext-questions-bounces@(protected) > [mailto:itext-questions-bounces@(protected)] On > Behalf Of Bompart Cedric > Sent: Monday, November 12, 2007 4:20 PM > To: iText-questions@(protected) > Subject: [iText-questions] image + classpath > > 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.
Aviso Legal: Esta mensagem ? destinada exclusivamente ao destinat?rio. Pode conter informa? ?o confidencial ou legalmente protegida. A incorrecta transmiss?o desta mensagem n?o significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. ? proibido a qualquer pessoa que n?o o destinat?rio de usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- 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/
|
|