No ideas without an example. Post runnable example code with the problematic
WMF.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Suschni Rene [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, July 08, 2002 19:40
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Problem adding WMF Image to PDF File
> 
> Hi 
> I tried to add an WMF Image to a PDF Doc.
> ...
> 
> // fi is the Image Byte stream
> 
> byte[] myWmfFile = getByteArrayFromInputStream( fi);
> 
> Image pic = Image.getInstance((myWmfFile));
> 
> pic.setAbsolutePosition(100, 200);
> 
> document.add(pic); 
> 
> ...
> 
> But the statement document.add(pic); loops forever
> 
> i tried the same code with an jpg file and it worked fine....
> 
>  
> 
> any ideas?
> 
> thanks for your help
> 
> bb.
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to