title: How to show text in image using pillow
body: <p>I recently started to learn how to work with Pillow in python and this is what i have so far (code below).</p>
  
  <p>If i run this i get the following error:</p>
  
  <blockquote>
    <p>ValueError: cannot determine region size; use 4-item box</p>
  </blockquote>
  
  <p>i've tried removing the base.paste line, this removes the error but doesn't show any text.</p>
  
  <p>i hope someone here could help me to fix this so the text is showing in the image.</p>
  
  <pre class="lang-py prettyprint-override"><code>@app.route("/imgtest/")
  def imgtest():
      f_text = textwrap.fill(request.args.get('text'), 10)
      base = Image.open(config.assetsfolder+'/'+'facts.bmp').convert("RGBA")
      txtO = Image.new("RGBA", base.size, (255, 255, 255, 0))
      font = ImageFont.truetype(config.assetsfolder+'/'+'fonts'+'/'+'Roboto-Bold.ttf', 15)
  
      canv = ImageDraw.Draw(txtO)
      canv.text((95, 283), f_text, font=font, fill="Black")
      base.paste(f_text)
      base.save(config.assetsfolder+'/'+'done'+'/'+'boop.png')
      return send_file(config.assetsfolder+'/'+'done'+'/'+'boop.png')```
  
  How do i show the text in the image?
  </code></pre>