title: Need help in displaying image in PDF using XSL-FO and data URI scheme
body: <p>For the DATA, if i set the base64 encoded string in a parameter,</p>
  
  <pre><code>String imageData = Base64.encode(IOUtils.toByteArray(is));
  transformer.setParameter("imageData", imageData);
  </code></pre>
  
  <p>and use the parameter in xslt like this,</p>
  
  <pre><code>&lt;fo:external-graphic src="data:image/jpeg;base64,$imageData"/&gt;
  </code></pre>
  
  <p>I tried with url and without url and both doesn't seem to work. Please help me. I am struggling to get the image on the pdf for over a month now.</p>