title: Insert an image in FOP / XSL-FO
body: <p>I want so use an image in the header of my XSL-FO File:</p>
  <pre><code> &lt;fo:static-content flow-name=&quot;xsl-region-before&quot;&gt;
              &lt;fo:block text-align=&quot;center&quot; line-height=&quot;40pt&quot; start-indent = &quot;10.0cm&quot;&gt;
                 &lt;fo:external-graphic height=&quot;auto&quot; width=&quot;auto&quot; content-height=&quot;auto&quot;
                          content-width=&quot;auto&quot; src=&quot;url('PDF/logo.png')&quot;&gt;
                &lt;/fo:external-graphic&gt;        
              &lt;/fo:block&gt;
   &lt;/fo:static-content&gt;
  </code></pre>
  <p>But I get the error, that the file format is not supported.
  I tried with png, bmp, gif, jpg, jpeg and everytime I get the same error.</p>
  <pre><code>Jul 15, 2014 8:01:26 PM org.apache.fop.events.LoggingEventListener processEvent
  Schwerwiegend: Image not available. URI: PDF/logo.png. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for PDF/logo.png (See position 13:119)
  org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for PDF/logo.png.........
  </code></pre>
  <p>Does anyone have an idea?</p>
  <p>Sincerely Niko</p>