0 Replies Latest reply on Dec 6, 2008 2:28 PM by nepveul

    Drawing gif images in pdf file

    nepveul
      Hi, I'm trying to draw a gif file in my pdf, but I always get the following error:

      2008-12-06 08:15:32,219 WARN  \[org.jboss.seam.web.ExceptionFilter\] handling uncaught exception
      java.io.IOException: The byte array is not a recognized imageformat.

      Here is an example of what my xhtml could look like:

      <p:document xmlns:ui="http://java.sun.com/jsf/facelets"
                  xmlns:s="http://jboss.com/products/seam/taglib"
                  xmlns:p="http://jboss.com/products/seam/pdf">
           <p:image alignment="right" wrap="true" value="/img/jboss.jpg" />
           <p:image alignment="right" wrap="true" value="/img/delete.jpg" />
           <p:image alignment="right" wrap="true" value="/img/arrowDown.gif" />   
      </p:document>

      works fine for both jpgs, but failes for the gif.

      Thanks!