title: No imagePreloader found - XML to PDF using FOP
body: <p>I'm trying to create PDFs from xml data. I'm using Apache FOP 1.1 for Java in Windows.
  The application runs perfectly in the Eclipse, but when I try to run it from the exported .jar images are not placed in the PDF. I've tryied running it at the cdm in order to see the log of the runtime. Here is the exception:</p>
  
  <pre><code>GRAVE: Image not available. URI: out/iberdrola.png. Reason: org.apache.xmlgraphics.
       image.loader.ImageException: The file format is not supported. No ImagePreloader
       found for out/iberdrola.png (No context info available) org.apache.xmlgraphics.
       image.loader.ImageException: The file format is not supported. 
       No ImagePreloader found for out/iberdrola.png
  at org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:180)
  </code></pre>
  
  <p>I've to explain that even if it's an exception, the program runs until the end and the PDF is rendered but without the image.</p>
  
  <p>I've tryied some different ways to solve the problem, but no success. Much of the information I've googled relates to servelts, but I'm not programming a servelt. By the way, here I give you two different solutions that have worked to some others. They are related but I spect the procedure is different. I don't know how to try them, could anyone explain me those better? Even if they are explained there must be any step I'm missing.</p>
  
  <p><a href="http://apache-fop.1065347.n5.nabble.com/FOP-1-0-images-fail-to-render-td7348.html" rel="nofollow noreferrer">http://apache-fop.1065347.n5.nabble.com/FOP-1-0-images-fail-to-render-td7348.html</a></p>
  
  <p><a href="https://stackoverflow.com/questions/26139301/apache-fop-in-a-java-applet-no-imagepreloader-found-for-data">Apache FOP in a Java Applet - No ImagePreloader found for data</a></p>
  
  <p>I'm also open to any other solution to this problem.</p>
  
  <p>Thanks in advice!
  Have a nice code!</p>