title: Insert Base64 image to pdf using pyfpdf
body: <p>I'm using pyfpdf in python to generate pdf files. I have a Base64 which I want to insert into a pdf file without having to save it as an image in my file system. But the pyfpdf image function only accepts file path.</p>
  
  <pre><code>fpdf.image(name, x = None, y = None, w = 0, h = 0, type = '', link = '')
  </code></pre>
  
  <p>Is there a way (hack) to directly insert base64 or buffered image from memory, without having to save into the file system beforehand? I even checked their source code on github and couldn't figure.</p>
  
  <p>link : <a href="https://github.com/reingart/pyfpdf/tree/master/fpdf" rel="nofollow noreferrer">https://github.com/reingart/pyfpdf/tree/master/fpdf</a></p>