title: How to convert repeating-linear-gradient of an element to a base64 image or any other format?
body: <p>I can't seem to find a way to convert the <code>repeat-linear-gradient</code> to a base64 image format.</p>
  <pre><code>background-image: repeating-linear-gradient(-45deg, transparent, transparent 5px, white 5px, white 10px);
  </code></pre>
  <p>My problem is I want to print an HTML page with <code>html2canvas</code> and <code>jsPDF</code> but since <code>html2canvas</code> doesn't support <a href="http://html2canvas.hertzen.com/features/" rel="nofollow noreferrer">support</a> <code>repeat-linear-gradient</code>, I would like to know if there is a way to convert the value to base64.</p>
  <p>Also, since the background image is rendered by the <code>gantt-chart</code> library, I can't change how it is set</p>