Title: Nachricht
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.

Reply via email to