I am trying to add a watermark for the pdf. Here is my code.

            Image img =
Image.getInstance(Toolkit.getDefaultToolkit().createImage("avvid_133x70.gif"
), null);
                        Watermark watermark = new Watermark(img, 10, 20);
                        document.add(watermark);

I don't see it getting added to the result pdf.

NOTE: However, I tried the usual way of add *.gif does not work due the
following error. I think I understand its more a legal problem than
technical. So, don't want to pursue on legal side.

/avvid_133x70.gif is not a supported GIF-file (initial LZW code not
supported).


Any pointers or workarounds or sample would help.

Cheers,
Ram.



-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to