title: PhantomJS - Rendering fails to show all images
body: <p>I have a phantomjs script that is stepping through the pages of my site.</p>
  
  <p>For each page, I use <code>page = new WebPage()</code> and then <code>page.close()</code> after finishing with the page.  (This is a simplified description of the process, and I'm using PhantomJS version 1.9.7.) </p>
  
  <p>While on each page, I use <code>page.renderBase64('PNG')</code> one or more times, and add the results to an array.</p>
  
  <p>When I'm all done, I build a new page and cycle through the array of images, adding each to the page using <code>&lt;img src="data:image/png;base64,.......image.data......."&gt;</code>.  </p>
  
  <p>When done, I use <code>page.render(...)</code> to make a PDF file.</p>
  
  <p>This is all working great...  except that the images stop appearing in the PDF after about the 20th image - the rest just show as 4x4 pixel black dots</p>
  
  <p>For troubleshooting this...</p>
  
  <ul>
  <li>I've changed the <code>render</code> to output a PNG file, and have the same
  problem after the 19th or 20th image. </li>
  <li>I've outputted the raw HTML.  I
  can open that in Chrome, and all the images are visible.</li>
  </ul>
  
  <p>Any ideas why the rendering would be failing?</p>