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

    Drawing gif images in pdf file

    Laurent Nepveu Newbie
      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"
           <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" />   

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