Title: Watermark, DocumentException: "not a supported GIF-file"

I am using iText version 0.81

I am trying to use a GIF file as a Watermark.

Here is the exception that I observe:

com.lowagie.text.DocumentException: file:/c:/web/www/webapp/foobar/images/blah.gif
  is not a supported GIF-file (the image separator '0x2c' is not found after reading the color table).
        java.lang.Throwable(java.lang.String)
        java.lang.Exception(java.lang.String)
        com.lowagie.text.DocumentException(java.lang.String)
        void com.lowagie.text.pdf.PdfContentByte.addImage(com.lowagie.text.Image, float, float, float, float, float, float)

        void com.lowagie.text.pdf.PdfDocument.initPage()
        boolean com.lowagie.text.pdf.PdfDocument.newPage()
        void com.lowagie.text.pdf.PdfDocument.close()
        void com.lowagie.text.Document.close()
        java.lang.String com.fooblah.util.PdfBuilder.createBolPdf(com.fooblah.businessobjects.BlahPrint)
        void com.fooblah.util.PdfBuilder.main(java.lang.String [])

Where is this documented?   Why does this happen?

Is this fixed in iText 0.82?

Will this be fixed in a future release?

-Sean

Reply via email to